jquery dialog - which button opened the dialog?
- by Dan
In the example below, how can you use the event and ui objects to detect which link opened the dialog? Can't seem to get $(event.target).attr("title"); to work properly, and I'm having trouble finding documentation on the 'ui object that is passed. Thanks!
$( ".selector" ).dialog({
link_title = $(event.target).attr("title");
…