7
Answers

hide the div only first time page load

hi,
 
hide the div in page load..i tried with  following code ..
 problem is after clicking search also div hiding...because after  button click also ready fun executing..
 
 Req:only one time means first time page load div should be hide..
 
pls anybody give me soln.. 
$(document).ready(function () {
$("test").hide();
$("#btnSearch").click(function () {
$("#test").show();
});
});
 

Answers (7)