[jQuery] Re: [validate] validator.pendingRequest below 0

2008-02-07 Thread Jörn Zaefferer


Yuval schrieb:

Hey Jörn!
ajaxQueue was indeed included when this did not work. It was loaded in
this order though, I don't know if it matters.
[...]

So it's loaded last.
Thanks,
Yuval
  
The order doesn't matter. Seems like the problem still exists - so I'll 
take your proposed fix into consideration. I'd prefer to find out why 
the issue occurs though. Any help on replicating the problem is very 
welcome.


Jörn


[jQuery] Re: [validate] validator.pendingRequest below 0

2008-02-07 Thread Yuval

1. Have a form with one or more fields that use remote
2. When the form is empty, click the submit button so that it shows
all errors
3. Now type the correct thing into one of the fields so that it
approves of it
4. Click the submit button again
5. Repeat steps 4-5 and eventually (I am not sure whether it happens
because of speed of typing and moving from one field to the other or
because of the number of time the submit button is pressed) It just
would not let you submit the form.
6. What I would do if I were you would be to add an alert() after
each request is submitted, then when the request ends, and once the
submit button is clicked, alert() alert pendingRequest - that's a
good way to keep track of what's going on - then you'll know exactly
when it happens in relation to the form you're working with.

As a side note, IE's script debugger and Firefox's Firebug did _not_
help when I was troubleshooting the problem.
Good luck, and please let me know if I can help in any way.
Thank you,
Yuval Karmi

On Feb 7, 12:24 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
 Yuvalschrieb: Hey Jörn!
  ajaxQueue was indeed included when this did not work. It was loaded in
  this order though, I don't know if it matters.
  [...]

  So it's loaded last.
  Thanks,
 Yuval

 The order doesn't matter. Seems like the problem still exists - so I'll
 take your proposed fix into consideration. I'd prefer to find out why
 the issue occurs though. Any help on replicating the problem is very
 welcome.

 Jörn


[jQuery] Re: [validate] validator.pendingRequest below 0

2008-02-06 Thread Yuval

Hey Jörn!
ajaxQueue was indeed included when this did not work. It was loaded in
this order though, I don't know if it matters.

script language=javascript type=text/javascript src=/js/
jquery.js/script
script language=javascript type=text/javascript src=/js/
jquery.form.js/script
script language=javascript type=text/javascript src=/js/
jquery.validate.js/script
script language=javascript type=text/javascript src=/js/
jquery.ajaxQueue.js/script

So it's loaded last.
Thanks,
Yuval

On Feb 5, 5:38 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
 Yuvalschrieb: Hey Jorn,
  I believe I have found a bug in jquery.validate 1.2.
  I use a few remotes to make sure a username or an email is not
  taken. Sometimes I would have some errors in my form and would click
  the submit button a few times to validate fields - and then would fix
  the fields containing errors, and then try to submit the form, but it
  would simply not submit. So after a lot of trial and error I decided
  to add the following line:[...]
  Hope I could help and things would be fixed in the next release.

 That can also be fixed by including the ajaxQueue plugin, which will be
 bundled with the validation plugin in the future.

 Please give the latest revision a 
 try:http://dev.jquery.com/view/trunk/plugins/validate/
 That will be released as 1.2.1 very soon.

 Let me know if it fixes the issue.

 Jörn


[jQuery] Re: [validate] validator.pendingRequest below 0

2008-02-05 Thread Jörn Zaefferer


Yuval schrieb:

Hey Jorn,
I believe I have found a bug in jquery.validate 1.2.
I use a few remotes to make sure a username or an email is not
taken. Sometimes I would have some errors in my form and would click
the submit button a few times to validate fields - and then would fix
the fields containing errors, and then try to submit the form, but it
would simply not submit. So after a lot of trial and error I decided
to add the following line:[...]
Hope I could help and things would be fixed in the next release.
  
That can also be fixed by including the ajaxQueue plugin, which will be 
bundled with the validation plugin in the future.


Please give the latest revision a try: 
http://dev.jquery.com/view/trunk/plugins/validate/

That will be released as 1.2.1 very soon.

Let me know if it fixes the issue.

Jörn