Jquery closing dialog and removing div -
please help! have designed dashboard uses gadgets. 1 of gadgets creates dialog every time gadget refreshed, creates dialog same id. dialog contains form, there issues getting , submitting value of inputbox since there identical id's on page.
what best way destroy newly created dialogs , removing div dom without affecting created dialog?
add dialog call:
close: function (ev, ui) { $(this).dialog("destroy"); $(this).remove(); },
this destroy dialog , remove div when it's closed.
Comments
Post a Comment