I have an instance where a user clicks a table row which opens a jquery dialog. I'd like change the color of this row when the user has closed the window.
I know dialog has a close param which can be a function(), but I am unsure how to reference the TR from that point.
E.G,
$("#myPopup").dialog({
autoOpen: false,
close: function(event, ui){
// I am not sure how to get the TR name at this point.
$("#TR-ID").css('backgroundColor','red');
}
});