The following code's else part isnt working, i.e. click is not getting enabled.
if
$("#section1").click(function(event){
return false;
});
else
$("#section1").click(function(event){
return true;
});
So basically, I want to remove the click functionality over a certain div section, which is working fine but while returning the click functionality back it is not working. Any suggestions?