ajax - Working with jquery.validationEngine and codeigniter -


i trying make form check if username available or not. started use jquery.validationengine (link) because looks extremely simple. however, since i'm using codeigniter, have problem validation... example on mentioned site looks like:

$("#formid").validationengine({  ajaxsubmit: true,   ajaxsubmitfile: "ajaxsubmit.php",   ajaxsubmitmessage: "thank you, received inscription!",                 ajaxsubmitextradata: "securitycode=38709238423&name=john",  success :  false,  failure : function() {} }) 

what need change ajaxsubmitfile: "ajaxsubmit.php", line match codeigniter's mvc pattern, tried like

ajaxsubmitfile: "<?php echo site_url('register/check_user'); ?>", 

where register controller , check_user function within controller. no matter try here 404 error in validationengine debugger.

does know how resolve problem?

ok, found answer...
editing wrong file time... supposed edit jquery.validationengine-en.js... there line points validation file... after editing line, see $_post data in controller...


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -