How do I get the information from a div after a have used Jquery-UI dialog
Here is the problem.
I have a html table that I create dynamically and here I have a div within
an td where I have some attribute with information.
I associate an event handler to my div by using the id in this way.
$('#' + track.id).click(function ()
{
$("#dlgBooking").dialog({
width: 230
});
});
So when I click on the div the associate jQuery-UI dialog is displayed
<div id="dlgBooking" title="Booking menu" style="display:none">
<ul class="nav">
<li><a href='javascript:Booking()'>Booking</a></li>
<li><a href="javascript:ChangeTime()">Change time</a></li>
<li><a href="javascript:CancelBooking()">Cancel booking</a></li>
<li><a href="javascript:Createlocking()">Create locking</a></li>
<li><a href="javascript:Removelocking()">Remove locking</a></li>
</ul>
</div>
Now to the problem when I chose for example Booking in the JQuery-UI dialog I need get information from the div I clicked on.
How on earth can I do that ?
//Tony