Please enable JavaScript.
Coggle requires JavaScript to display documents.
Jquery - $('selector').action - Coggle Diagram
Jquery - $('selector').action
Selector
$('div or .class or #id')
$('div:first')
action
css - .("color","red")
.css("design")
.before("<p>abc</p>")
.after(<p>abc</p>)
text - .text()
.text("abc")
.html - .html()
.html - .html("<p>abc</p>")
attr("color","red")
val
click -.click(func(){something})
addClass
removeClass
toggleClass("class")
hide - .hide()
show - .show()
on
fadeIn - fadeOut ("slow, fast,3000","")
slideUp - slideDown - toggleSlide - fast,slow,3000
draggable();
droppable
datepicker