jQuery的强大我何文启(个人主页:hovertree.com)就不用多说了,那么怎么使用jQuery呢?首先,下载jquery。下载地址:http://hovertree.com/hvtart/bjae/b8627323101a4994.htm,一个是压缩版本,一个是未压缩版 ...
jQuery的强大我何文启(个人主页:hovertree.com)就不用多说了,那么怎么使用jQuery呢?
然后就在页面上引用。代码如下:
<head><script type="text/javascript" src='/images/loading.gif' data-original="http://hovertree.com/ziyuan/jquery/jquery-1.11.3.min.js"></script></head>
代码如下:
<!DOCTYPE html><html ="http://www.w3.org/1999/xhtml"><head><title>jQuery改变链接的颜色-何问起</title><base target="_blank" /><script type="text/javascript" src='/images/loading.gif' data-original="http://hovertree.com/ziyuan/jquery/jquery-1.11.3.min.js"></script></head><body><a href="http://hovertree.com">首页</a> <a href="http://hovertree.com/texiao/">更多特效</a> <a href="http://hovertree.com/hvtart/bjae/594821fc653c4fb4.htm">原文</a> <a href="http://hovertree.com/hvtart/bjae/b6fd7e9e75b8773b.htm">参考</a><br />注意本页上链接的颜色<script>$(document).ready(function () { $("a").css("color", "red"); });</script></body></html>
海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com
原标题:怎么使用jQuery
关键词:jquery
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。