Dialog won't open on click when "autoOpen : false"
I have a dialog that works great when autoOpen = true, but when I set it equal to false, I can't open the dialog on the click of a specific button.
Firefox Firebug doesn't show anything on the error console. Am I missing something obvious? Thanks
- $(document).ready(function () {
- $("#div_Detail").dialog({
- autoOpen: false,
- buttons: {
- Ok: function () {
- $(this).dialog("close");
- }
- }
- });
-
- $("#lbSelect").click(function () {
- $("#div_Detail").dialog("open");
- return false;
- });
- });