Hi,
I'm new to jquery, so I'm not sure if I've missed something. I have
several click events, which open modal dialog windows. Each one works
perfectly the first time I click them, but if I go back to click them
again, they don't work. No errors are thrown, they just don't work.
Any assistance would be greatly appreciated.
Floyd
This is the code of one, the others are similiar:
$(function() {
$("#mtd").click(function() {
$("#mtd_dialog").dialog({
bgiframe: true,
title: "Reports Search Paramaters",
height: 250,
width: 300,
modal: true,
buttons: {
"Cancel": function() {
$("iframe#mainFrame").attr("src","opening.html");
$(this).dialog("close");
},
"See Report": function() {
$("iframe#mainFrame").attr("src","MTD_currentReport.php");
$(this).dialog("close");
}
}
});
});
});
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.