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
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:
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
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
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
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 = {
Use a global. Makes more sense than my solution. Thanks. I always
forget about globals.
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,
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
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,
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,
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
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
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
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; }
...
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
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,
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:
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
[..]
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
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
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
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');
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
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
Okay, I officially feel like an ID10T.
body *class=flora*
Amazing how important the *^@^*#$% tiny details are.
Thanks,
Matt
26 matches
Mail list logo