Toggle() function is not working properly


#1

When the page loads the #update_box div should not display and when #search button clicked I need to show the update_box div.My code is not working the div display suddenly and disappear when page loads and happen the same when I click #search button.

$(document).ready(function(){
$("#update_box").hide();
$("#search").click(function(){
$("#update_box").toggleClass(slow);
return false;
});

});


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.