Answer by Mitchell McKenna for How to create a Codeigniter non page refreshing signup form?

September 19 2010, 7:42pm

You could make ajax calls back to CI for validation using $.ajax or $.post, that way you only have to create your validation rules in CI.

Here's an example I found to get you started: http://stackoverflow.com/questions/2331389/jquery-post-codeigniter-validation/2331527#2331527

And Here's a CodeIgniter example of Captcha with ajax: http://www.99points.info/2010/03/verify-captcha-with-ajax-using-codeignite/