简体   繁体   中英

Using jQuery in Cloud9

I am teaching myself how to program usign JS, jQuery, HTML and CSS. I downloaded the jquery-master from github and use it in my project, however I still cannot get it to import into my HTML files so that I can utilize it. Does anybody know how? Any help would be appreciated!

you can use this js file you donot need to download js files you just need to place this script tag to each html page where you are trying to play with jquery code.

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

use this script and include your jquery code inside this script block

<script type="text/javascript"> alert('hi friend') </script>

hope this will works Thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM