For more, see http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/
- Richard On Wed, Nov 11, 2009 at 1:36 PM, Joe Moore <[email protected]> wrote: > You'll need to call dialog('open') for subsequent calls to dialogue > > On Nov 11, 2009 12:52 PM, "crashzero333" <[email protected]> wrote: > > I'm new to using JQuery and JQuery UI. I've implemented a dialog form > that allows for a time block selection once a date is clicked on a php > calendar that i created. The issue I'm having is if I click on a date > and then click on the cancel button in the dialog, then click on > another date, the dialog will not open again after the first instance > is closed. Below is my code. Help!! > > function selectTime() > { > var startTime = "", > endTime = "", > myvars = ""; > > $("#dlg_time").dialog( > { > bgiframe: true, > height: 250, > width: 400, > modal: true, > buttons: { > 'Select Time': function() > { > mytime = > $("inp...@name=time]:checked").val(), > myvars = mytime.split("-"); > $("#start_time").val(myvars[0]); > $("#end_time").val(myvars[1]); > $(this).dialog('close'); > }, > Cancel: function() > { > $(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]<jquery-ui%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=. > > > -- > 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]<jquery-ui%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=. > -- 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=.
