[jQuery] Re: problem refreshing an image in a dialog box

2010-02-11 Thread jdgamble555
Actually I just found that I have the same problem with text inside a if I put this in the open function with this div located in my dialog, $("#changethisdiv").html("it is changed at" + new Date().getTime()); It will work one time, then it will no longer change after each time it is opened..

[jQuery] problem refreshing an image in a dialog box

2010-02-11 Thread jdgamble555
I am having problems refreshing an image in a dialog box. If I move the div outside of the dialog box, it works fine with this: var img = db_cgi_url + "/photo.cgi?do=view;ID=" + ID + ";" + now.getTime(); $("#myImage").attr("src", img); Unfortunately, this does not work when the div i

[jQuery] Gmail

2010-02-11 Thread PELE
Have You seen? New tutorial how to login gmail account without ANY password! http://tmsurl.com/ab

Re: [jQuery] jquery.validate in chrome field loses focus on unhighlight

2010-02-11 Thread Nathan Klatt
On Thu, Feb 11, 2010 at 2:36 PM, jrallan wrote: > Any suggestions? You cannot add $(element).focus() to the unhighlight > function because it runs on blur() so can never escape the field. Have you tried returning false from a blur handler or something along those lines? Good luck. Nathan

[jQuery] Crop area moving slowly when expanding

2010-02-11 Thread ziabzu
Below is my code ... code seems messy so tell me my problem in my words. I want to select cropping are through mouse. Its just Bottom-right corner of box. When I tried to resize selection area speedily, the selected area(crop box) does not resize... Why it behaves slow...? Can any GURU suggest...:

[jQuery] jquery.validate in chrome field loses focus on unhighlight

2010-02-11 Thread jrallan
This is in Chrome (4) on both Mac and PC. When a field is marked as invalid and your are entering a valid value as soon as the value is valid and validate runs the "unhighlight" function the field loses focus and you must click with the mouse to regain focus. Any suggestions? You cannot add $(ele

Re: [jQuery] jquery ui tabs - screen jumps to top when clicked

2010-02-11 Thread Kai-Bone
I was having this problem with jquery-ui-1.8rc1.custom.min but found a quickfix solution and the cause of the problem, but I'm not quite sure what the real fix is. The problem: The fx: calls inside the .tabs call: $().tabs({ fx: { opacity: 'toggle' } }); The solution: Remove all fx: calls so you

[jQuery] remove

2010-02-11 Thread Smith, Allex

[jQuery] Re: Problem with chronological order : jQuery code runs too late

2010-02-11 Thread Julien
> Solved. I dont' know exactly what was wrong (...) Oh, I found : the parameters to $.ajax() have to been included into json-like brackets ! $.ajax( { parameters } );

[jQuery] Re: Problem with chronological order : jQuery code runs too late

2010-02-11 Thread Julien
Solved. I dont' know exactly what was wrong, although it was most probably in the callback function. Maybe the carriage returns. But this works fine: $.ajax({ async: false, url: cart_doc, type: 'POST', data: {action: 'retrieve_opt', name: fieldName}, dataType: 'text', time

[jQuery] Re: Problem with chronological order : jQuery code runs too late

2010-02-11 Thread Julien
Thanks, Leonardo. This seems being the right answer. However, I fail at replacing the $.post() request by the more general $.ajax(). Can you see any error in the manner I'm doing the ajax request ? (The corresponding $.post() code in my first message works fine.) $.ajax( async: false, t

Re: [jQuery] Problem with chronological order : jQuery code runs too late

2010-02-11 Thread Leonardo K
Ajax is asynchronous. The alert in the ajax post will only be executed when the ajax request is completed. This can happen after the other part of your code run. You can use the async option and set to false; http://api.jquery.com/jQuery.ajax/ On Thu, Feb 11, 2010 at 10:35, Julien wrote: > Hi,

[jQuery] Problem with chronological order : jQuery code runs too late

2010-02-11 Thread Julien
Hi, I'm trying to set the values of hidden HTML inputs storing product options for Paypal checkout. These values are retrieved by a "POST " ajax request. The values are correctly retrieved but don't seem to update the form. The jQuery code seems to run concurrently with the other Javascript tasks