如何使jQuery代码在html中工作 [英] How to make JQuery codes work in html
本文介绍了如何使jQuery代码在html中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要有人帮助我解决有关jquery的问题. :(
I need someone to help me about jquery please. :(
推荐答案
是的,为什么不呢?
在 ^ ]搜索无疑会为您带来很多帮助.
Yes why not.
Get 14,500,000 results on Google[^] search which will surely help you lot.
这不会 感觉. jQuery仅在HTML网页中运行.但是,如果不加载库就无法使jquery正常工作,这是显而易见的.
您需要解释您的意思.我认为这意味着您非常困惑,应该只买一本不错的jQuery书.
This makes no sense. Jquery only runs in web pages, which are HTML. But you can''t make jquery work without loading the library, that is plainly obvious.
You need to explain what you mean. I think it means you''re very confused and should just buy a good jQuery book.
添加对jQuery的脚本引用
add a script reference to jQuery
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
然后玩得开心:)
And then have fun :)
<script type="text/javascript">
这篇关于如何使jQuery代码在html中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文