[jQuery] Re: UI dialog uses old data

2010-01-18 Thread Lestat
I'm assuming you are submitting via $.ajax() .post. I ran into this same problem, even using dialog('destroy'). What I found is, you do destory the dialog, yet the form seems to remain in memory resulting in two of the same forms submitting. I spent 3 days trying to figure this out but here is the

[jQuery] Re: UI dialog, How to center buttons

2009-12-23 Thread RobGMiller
Thanks Richard, Too simple. On Dec 22, 12:13 pm, Richard D. Worth rdwo...@gmail.com wrote: .ui-dialog .ui-dialog-buttonpane { text-align: center; } .ui-dialog .ui-dialog-buttonpane button { float: none; } - Richard On Tue, Dec 22, 2009 at 1:44 PM, RobGMiller robgmil...@gmail.com wrote:

[jQuery] Re: UI dialog uses old data

2009-12-14 Thread MorningZ
For some reason he rembers the old data It's not remembering anything, it's simply reading the values again... after you do your save/edit/whatever, use .val() and other things that set form field values and clear out what is there

[jQuery] Re: UI dialog uses old data

2009-12-14 Thread ebru...@gmail.com
Then i think the problem is unique fields. Thanks for your reply! On 14 dec, 14:47, MorningZ morni...@gmail.com wrote: For some reason he rembers the old data It's not remembering anything, it's simply reading the values again...  after you do your save/edit/whatever, use .val() and other

[jQuery] Re: UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread MorningZ
Example i whipped up quick: http://jsbin.com/acucu/edit On Nov 18, 2:05 pm, discern cap...@gmail.com wrote: Because I am using the CLASS of the button to open UI Dialog (as opposed to the ID), how can I pass it the ID (or any data, for that matter)? I need to pass the ID of the button to

[jQuery] Re: UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread discern
Solved my own problem (again). For anyone else with a similar question, just add a hidden field to your dialog form: div id=new ... input type=hidden value= id=id / /div Then, in the click event, add: $(#id).val(id); after the dialog('open') line. The final result is: var opt = {

[jQuery] Re: UI Dialog: Need the ID of the clicked button...

2009-11-18 Thread discern
Use a global. Makes more sense than my solution. Thanks. I always forget about globals.

[jQuery] Re: UI dialog resize (width height settings)

2009-05-21 Thread c.sokun
cool! I will try that is it possible to call it in just one line? On May 18, 6:55 pm, Richard D. Worth rdwo...@gmail.com wrote: You can only call .dialog({ width: XX, height: YY }) once. That's an init. After that you can change the width and height by calling dialog's option method,

[jQuery] Re: UI dialog resize (width height settings)

2009-05-21 Thread Richard D. Worth
Yup $(#myDiv).dialog(option, { width: newXX, height: newYY }); - Richard On Thu, May 21, 2009 at 11:46 AM, c.sokun chornso...@gmail.com wrote: cool! I will try that is it possible to call it in just one line? On May 18, 6:55 pm, Richard D. Worth rdwo...@gmail.com wrote: You can only call

[jQuery] Re: UI dialog resize (width height settings)

2009-05-18 Thread Richard D. Worth
You can only call .dialog({ width: XX, height: YY }) once. That's an init. After that you can change the width and height by calling dialog's option method, specifying the option you want to change, and the new value: $(#myDiv).dialog(option, width, newXX); $(#myDiv).dailog(option, height,

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-03 Thread ggerri
thanks Brian, already checked the options, couldnt find this one... On Apr 2, 5:58 pm, brian bally.z...@gmail.com wrote: http://docs.jquery.com/UI/Dialog#options On Thu, Apr 2, 2009 at 11:47 AM, ggerri a...@ggerri.com wrote: Hi there want to show a 'please wait' dialog with UI dialog,

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-03 Thread ggerri
Solved! Thanks a lot Richard for your time and help :-) Would be nice to have two more dialog options title y/n, closer (x) y/ n in a future release- what do you think? Take care and regards from sunny Switzerland Gerald On Apr 2, 6:08 pm, Richard D. Worth rdwo...@gmail.com wrote: You can

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-03 Thread Richard D. Worth
On Fri, Apr 3, 2009 at 4:40 AM, ggerri a...@ggerri.com wrote: Solved! Thanks a lot Richard for your time and help :-) Would be nice to have two more dialog options title y/n, closer (x) y/ n in a future release- what do you think? This has come up before. I'm not convinced it will happen

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-02 Thread brian
http://docs.jquery.com/UI/Dialog#options On Thu, Apr 2, 2009 at 11:47 AM, ggerri a...@ggerri.com wrote: Hi there want to show a 'please wait' dialog with UI dialog, but cant figure out how to remove the title and the X (close dialog) as the dialog should auto-close after the content is

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-02 Thread Richard D. Worth
You can hide it with css: .ui-dialog-titlebar { display: none; } If you want to scope it to a specific class of dialogs, rather than all dialogs, you can combine with the dialogClass option: http://docs.jquery.com/UI/Dialog#option-dialogClass .message .ui-dialog-titlebar { display: none; } ...

[jQuery] Re: ui dialog

2009-02-09 Thread Richard D. Worth
Can you please provide some more information, such as the steps you're taking, the operating system and browser version? Thanks. - Richard On Mon, Feb 9, 2009 at 7:07 AM, rani rani.bar...@gmail.com wrote: im not able to download the full package of ui dialog.moreover while trying to

[jQuery] Re: ui dialog

2009-02-09 Thread Richard D. Worth
Also, which version you are trying to download. - Richard On Mon, Feb 9, 2009 at 11:58 AM, Richard D. Worth rdwo...@gmail.com wrote: Can you please provide some more information, such as the steps you're taking, the operating system and browser version? Thanks. - Richard On Mon, Feb 9,

[jQuery] Re: UI Dialog Position Based on Link Position

2009-01-27 Thread Stephan Veigl
The position of the mouse is sent as parameter with the click event. see: http://docs.jquery.com/Tutorials:Mouse_Position If you want to position the dialog absolute to the link (and not the mouse pointer) you could use $(link).position to get the position of your link. see:

[jQuery] Re: UI Dialog Position Based on Link Position

2009-01-27 Thread jay
Also will want to compare position of mouse to width of window and if the difference is less than the width of the dialog then position tooltip to right, else to the left Here is the link for the width() property: http://docs.jquery.com/CSS/width On Jan 27, 9:45 am, Adam apcau...@gmail.com

[jQuery] Re: UI dialog draggable containment option change

2009-01-06 Thread JuergenRiemer
[..] I made it work by modifying the jQuery UI core, and adding containment:'window' as a default option value in _makeDraggable method of a dialog widget: [..] however this doesn't really resolve the problem, because it'll be a headache if I want to reuse this bundle and have alternative

[jQuery] Re: UI dialog draggable containment option change

2009-01-06 Thread Richard D. Worth
You could override the draggable default before calling .dialog (which in turn calls .draggable). Like so $.extend($.ui.draggable.defaults, { containment: 'window' }); Also, note that in the latest trunk (after 1.6rc4) dialog has been changed to default to draggable containment: document. So

[jQuery] Re: UI dialog draggable containment option change

2009-01-06 Thread Richard D. Worth
Also, note: there is a dedicated mailing list for discussion of jQuery UI plugins[*]: http://groups.google.com/group/jquery-ui - Richard [*] http://rdworth.org/blog/2008/10/jquery-plugins-and-jquery-ui/ On Tue, Jan 6, 2009 at 6:58 AM, Richard D. Worth rdwo...@gmail.com wrote: You could

[jQuery] Re: UI Dialog help with show dialog

2008-07-14 Thread Scott González
This is fixed in current SVN. On Jul 13, 4:50 pm, Pitrsonek [EMAIL PROTECTED] wrote: Hi, i have this function: function showSendMessage(id){ $('#sendMessage').dialog({modal: true,overlay:{opacity: 0.5,background: black},title: 'Kontaktovat uživatele'}); //$('#sendMessage').dialog('open');

[jQuery] Re: UI Dialog with BUG when resize in IE?

2008-07-06 Thread Leandro Vieira Pinho
Hi, Sorry for don´t say the version of IE. The version is 6. Cheers On Jul 4, 9:53 pm, C.Everson [EMAIL PROTECTED] wrote: On Fri, 4 Jul 2008 12:18:52 -0700 (PDT), Leandro Vieira Pinho wrote: I´m with problem withUIDialog, and I´m thing it´s abug. In thisUIDialog

[jQuery] Re: UI Dialog with BUG when resize in IE?

2008-07-04 Thread C.Everson
On Fri, 4 Jul 2008 12:18:52 -0700 (PDT), Leandro Vieira Pinho wrote: I´m with problem with UI Dialog, and I´m thing it´s a bug. In this UI Dialog example http://docs.jquery.com/UI/Dialog is possible to verify. If you resize the Dialog to right, for example, and then try to resize to

[jQuery] Re: UI Dialog

2008-01-22 Thread Matt Quackenbush
Okay, I officially feel like an ID10T. body *class=flora* Amazing how important the *^@^*#$% tiny details are. Thanks, Matt