![]() |
form_validation with JSON - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: form_validation with JSON (/showthread.php?tid=1047) |
form_validation with JSON - vertisan - 02-08-2015 Hi! I'm the beginner with CI and I want to create form with form_validation() and JS. This is my code: CONTROLLER: PHP Code: ... VIEW: Code: <div id="error"></div> JS: Code: $(function() { In console all is fine, but alerts doesn't work and I don't know why ![]() Can anyone help? |