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

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -