I have the following scripts:
$(function (movie) {
$("#dialog").dialog({
autoOpen: false,
show: {
effect: "blind",
duration: 500
},
hide: {
effect: "explode",
duration: 500
}
});
$("td#dialog_link").click(function (e) {
$('#dialog').dialog('open');
return false;
});
And the following div to display the message:
<div id="dialog" title="R">
<p>The value in the table is </p>
</div>
I just can't seem to find a way to pass in the value from the thing i'm clicking.
It's set up so when I click an element in a table, it shows the dialog, but I want it to also display the value from what i'm clicking on in the dialog at the end or middle of the message.
Please help, I can't find it.