How to prevent other events calling js function based on some function using jquery -


multiple selectors calling same jquery method on click event.

i've prevent further calls method other events based on condition verified first event call..

this disable event handlers elements after 1 of elements has been clicked

$("#parent").on("click",".elementtoclick",function(){    $('#parent').off();    // plus whatever else need       }); 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -