Hi all, I downloaded the latest 1.6RC from jqueryui.com and found that the dialog window does not work as well as in the currently available stable version(1.5.3). I am not a javascript expert...what i am trying to do is open a dialog window on the click of a button. It opens fine the first time...on closing it and clicking on the button again, it refuses to open on 1.6RC version of the code....but works fine on 1.5.3.
Here is the JS code I am triggering when a button is clicked. <input type=button value="click" onclick="javascript:openOver()"/> function openOver() { $("#dialog").show().dialog({ bgiframe: true, height: 300, modal: true, buttons: { 'Submit': function() { $(this).dialog('close'); }, Cancel: function() { $(this).dialog('close'); } } }); } <div id="dialog" title="Create new user" style="display:none"> <p>All form fields are required.</p> <form> <fieldset> <label for="name">Name</label> <input type="text" name="name" id="name" class="text" style="width: 230px"/> <label for="email">Email</label> <input type="text" name="email" id="email" value="" class="text" style="width:230px"/> <label for="password">Password</label> <input type="password" name="password" id="password" value="" class="text" style="width:230px"/> <label for="password">Date</label> <input type="text" id="datepicker"> </fieldset> </form> </div> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---