[jQuery] [validate] [ajax]

2009-09-01 Thread HairyJim
Hi all, Still green with JQ. I have the following code which does work to a point except the validation runs but the form submits (via ajax) regardless. I know I need to change the code round, ajax in the the validate call - I think. Could do with help on this! $(document).ready(function() {

[jQuery] Re: jQuery Validate AJAX Captcha

2008-11-20 Thread dotlizard
UPDATE: it does, in fact, refresh the entire page on the second reload of the CAPTCHA image. i also noticed that there was a browser warning about the php- generated image being transferred as text, so added header("Content-Type: image/png"); in image.php right before creating it, and imag

[jQuery] [validate] jQuery Validate AJAX Captcha

2008-11-20 Thread dotlizard
first problem: clicking to refresh CAPTCHA results in broken image. http://jquery.bassistance.de/validate/demo/captcha/ <-- see demo easy fix: in file image_req.php, change: 'img src="images/image.jpg?' to img src="images/image.php?' upon doing this CAPTCHA works fine, and will refresh one time w