2021年4月8日星期四

Issues with JQuery and AWS S3 web hosting

I've created a website that uses 'http://code.jquery.com/jquery-latest.js' for some javascript animations. I've hosted my website on AWS S3, but it seems like the animations aren't working. I believe it has something to do with CORS and allowing it use the jquery link, but I may be wrong. Any advice? Sorry if I'm not using the terms correctly, am just learning all of this. Please let me know if theres more information required to answer, I'll gladly update the question with it.

I have this statement at the end of my html code.

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>  <script src="assets/js/nav-main.js"></script>  
https://stackoverflow.com/questions/67014231/issues-with-jquery-and-aws-s3-web-hosting April 09, 2021 at 10:22AM

没有评论:

发表评论