Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Jquery is not catching form
#2

[eluser]jonez[/eluser]
Remove this:

$('#Submit').click(function(){
$('#addblog').Submit();
return false;
});

jQuery Validate adds its own handler to the form submit event. Once the above code is removed the validation rules should be triggered when you try to submit the form. The code above triggers the event manually and will skip the form validation rules.


Messages In This Thread
Codeigniter Jquery is not catching form - by El Forum - 10-09-2013, 09:50 AM
Codeigniter Jquery is not catching form - by El Forum - 10-10-2013, 06:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB