Hi,
I have multiple places on my page where the user may click and it will open
a dialog.
In the dialog I need to know somehow where the user clicked exactly ...
$('div.quarter').click(function() {
var data = $(this).......
$('#dialogForm').dialog('open'); /* pass the data to the dialog */
});
$("#dialogForm").dialog({
open: function(event, ui) { /* change the dialog according to the data
*/ }
........
Thank you for any help.
--
View this message in context:
http://old.nabble.com/-UI-Dialog--Passing-data-to-the-dialog-when-opening-tp27756556s27240p27756556.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.