cool jQuery tips

$().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 $

posted on 2015-06-23 22:38  xiaoshan_coding  阅读(107)  评论(0)    收藏  举报

导航