JQuery dialog .dialog is not a function unique situation
The situation I have is unique to one of the pages I'm working with.
I have a dialog that loads a page into a modal dialog window. The page loads fine, and displays data. When I close that dialog window, and click on another link that would use the same dialog I get the .dialog is not a function issue.
I have found that the reason for this is that the page that gets loaded into the dialog window includes the javascript libraries for jmesa (which uses jquery). If I remove the references to the jmesa js files, multiple modal pop ups in this fashion work. However then my jmesa tables in the pop ups do not work.
Is there some way to "unload" the data in the dialog on close, so that the references to the javascript files aren't seen, and a second pop up can occur?
Thanks for any help with this.