I do this:
var formSubmit = $(element).closest('form').serialize(); $.ajax({ type: "POST", dataType: "json", data: {formData : formSubmit, data : data },.... How to take server side? so that you can check the codeigniter validation rules?
I do this:
var formSubmit = $(element).closest('form').serialize(); $.ajax({ type: "POST", dataType: "json", data: {formData : formSubmit, data : data },.... How to take server side? so that you can check the codeigniter validation rules?
Source: https://ru.stackoverflow.com/questions/319241/
All Articles