sudheen

sudheen

  • 1.4k
  • 313
  • 83.6k

hide the div only first time page load

May 27 2015 9:06 AM
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)