![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jquery
黄伟伟
java开发工程师
展开
-
jquery 基础语法
$(document).ready(function(){ $("p").click(function(){ $(this).hide(); }); $(document).ready(function(){ $("button").click(function(){ $("p").hide(); }); }); 进入页面加载的方法 $(document).re转载 2013-08-25 22:21:24 · 335 阅读 · 0 评论 -
jquery效果
三个矩形 $(document).ready(function(){ $("button").click(function(){ $("#div1").fadeIn(); $("#div2").fadeIn("slow"); $("#div3").fadeIn(3000); }); }); 演示带有不同参数的转载 2013-08-25 22:31:37 · 362 阅读 · 0 评论 -
jquery ajax
$(document).ready(function(){ $("#btn1").click(function(){ $('#test').load('/example/jquery/demo_test.txt'); }) }) $(selector).load(URL,data,callback); responseTxt - 包含调用成功转载 2013-08-25 22:38:44 · 522 阅读 · 0 评论