I want to load a page into jQuery Dialog plugin (by using that code jQuery: Load Modal Dialog Contents via Ajax) In that page user will select some data. After the selection, when he closes the Dialog window, I need to retrieve the user’s selected data from that Dialog window. How can I do that ?
Share
First thing you want to do is have the values saved when the dialog closes. Let’s say this is the page you are loading:
Then when you load the dialog, you should add this:
Now, those text values can be pulled anytime you need in the rest of the code with
Hope that helps