I know this has been discussed/requested many times but I have not
seen a solution posted. I love the look and simplicity of the JQuery
Modal Dialog documented here http://plugins.jquery.com/project/modaldialog
and I have seen many posts asking how to add Yes/No OK/Cancel buttons.
I have also seen the suggested code to add the buttons but do not see
how the response is passed back to the page etc. I am probably being
thick headed but can someone provide a sample site and code that
provides this functionality. And if so, it would be great to add it to
the plug-in's demo page.
What I need to do is very typical, I am sure. When user clicks on a
Delete button, I want to pop up a confirmation window and based on Yes
or No response perform the data deletion. The same as adding the
following javascript
btnDelete.Attributes.Add("onClick", "return confirm('Delete user
now ...are you sure?','CONFIRM DELETE');")
Any help greatly appreciated.
TIA
John
--
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=.