JQuery – Play with html

Posted by Sajith M.R in html, webworld on 03. Jun, 2009 | 2 Comments

Start jquery for manipulating html file and execute javascript just like sql queries.
Simply pointer the dom object with a $  and manipulate with different built in function.
For example 
$(”p.neat”).addClass(”ohmy”).show(”slow”);
Don’t need to write javascript inside each node. It is like prototyping. Insted of adding an onClick=”function()” inside the node, jquery define the onclick function from the top [...]