Response title
This is preview!
|
In my jquery UI dialog once i click the close button, on the next time when the dialog appears, the cancel button needs to be click twice to close.
The following line of code works fine if im not clicking the (X)close button.
- jQuery("#message1").remove();
Once I clicked the close button, the cancel button will works only click twice.
what is the reason of this scenario and how can I avoid it?
© 2013 jQuery Foundation
Sponsored by and others.