02.06.2013 Views

jQuery - PUCIT | ACM Student Chapter

jQuery - PUCIT | ACM Student Chapter

jQuery - PUCIT | ACM Student Chapter

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example<br />

$(Selector).action();<br />

<br />

<br />

<br />

$(d $(document).ready(function(){<br />

) d (f i (){<br />

$("#hide").click(function(){<br />

$("p").hide();<br />

$("#changeColor").hide();<br />

g<br />

});});<br />

function setColor() {$("p").css('background','gray');}<br />

$(function() {alert('Start of Script: Like smart window.onload. Explained in next<br />

section section.');});<br />

');});<br />

<strong>jQuery</strong> Hide FunctionThis is a paragraph.This is another<br />

paragraph.<br />

<br />

<br />

<br />

Kashif Munir Mazhar

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!