Kirschstein
Kirschstein

Reputation: 14868

Modal Popup for Selecting an Option [jQuery]

In my application I want to present a list of choices for a user to pick from in a modal popup. I'll be using the value they select in the 'parent' page.

I've looked into nyroModal, but none of the examples include a return value after the modal closes. I'm assuming this is because its opening up the content with a new HTTP request, which isn't going to lend itself well to returning a value.

Any suggestions for libraries / ways to get around this?

Upvotes: 1

Views: 5255

Answers (3)

ez.
ez.

Reputation: 7654

we use JModal. It works well and does what you described.

Upvotes: 0

ErsatzRyan
ErsatzRyan

Reputation: 3043

why not just use the jquery-ui dialog?

http://jqueryui.com/demos/dialog/

Upvotes: 1

jgallant
jgallant

Reputation: 11273

I would use ThickBox, and display Inline content as a modal dialog.

That way, you can query the inline elements (that will be hidden when the dialog is closed) for the data entered.

Upvotes: 0

Related Questions