Using the data method is a good idea.
$.data($('#new')[0],'id',value)
discern wrote:
>
> Use a global. Makes more sense than my solution. Thanks. I always
> forget about globals.
>
>
--
View this message in context:
http://old.nabble.com/UI-Dialog%3A-Need-the-ID-of-the-clicked-button...-tp
Because I am using the CLASS of the button to open UI Dialog (as
opposed to the ID), how can I pass it the ID (or any data, for that
matter)? I need to pass the ID of the button to dialog so I know which
row to apply the actions of the dialog to.
var opt = {
autoOpen: false,
modal:
2 matches
Mail list logo