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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -