is there a way to determine what triggered an event in jquery? I have
an action (delete) that I want to display in a dialog box, but if i
have a list of items to delete, is there a way to determine what item
called the dialog box?

basically a list of items i want to delete all have a unique id
(1,2,3,4,5 etc). this dialog box is "do you want to delete this item"
- it's a generic phrase that does not change.

what i do is pass this to an ajaxSubmit action which passes to a PHP
file, and deletes the item. this will only be achievable if i can
determine which id called the dialog box.

any ideas?

alex
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to