Javascript "confirm" Box Displaying More Than Once. Jquery
I have an Ajax call that is run when a div is clicked. This displays a dynamic drop down menu. Below is the ajax call. The drop down menu contains a list of other items that can be
Solution 1:
Following seemed to fix it.. thanks SCRAGAR for your suggestion:
closeEditor.one().bind("click", function(){
if(confirm(closeMessage)){
contentEditor.fadeOut(1000);
} else {
//do something
}
});
Post a Comment for "Javascript "confirm" Box Displaying More Than Once. Jquery"