[jQuery] jqModal and "onHide" callback
Hi!
I have a need to do something everztime jqModal window is closed.
Reading documentation revealed that I could use onHide callback.
Calling this function works correctly but I need to retrieve id of the
element that triggered jqModal in it and I don't know how to do
it.
I tried:
<code>
var id=h.t.attr("id");
</code>
and
<code>
$(h.t).attr("id");
</code>
but it doesn't work this way.
Can someone point me in the right direction, please?