find out what called event

find out what called event


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