cool jQuery tips

时间:2015-06-23 23:01:06   收藏:0   阅读:267

$().slideToggle("slow/fast") //move the object

$().animate({,}) //cool animation tool function

$().stop()

$().hide(100,callback)  //attribute to start after hide finish

$().slideUp().slideDown()  //connect various function to one object

text(),html(),val(),attr("href")  //attribute of object

$().find()  //find children... ...

$("div p").first()  //find first p in div

$().load()  //load outer file

$.get(url,callback)  //url:address  callback :(data status)

$.post(url,data,callback)  //data:send to server  callback:same as get

$.noConflict()  //jQuery to substitute $

原文:http://www.cnblogs.com/xiaoshan-coding/p/4596469.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!