I am using AJAX form submit to post all values using the serialize()
method so I get response in the success like this below
fullname=muthu&position=tl&status=active
This value I want to convert to array so i will try in AJAX success. How can do this? My AJAX code is here:
var candiate_form = $('#candiate_form').serialize();
$.ajax({
type: "POST",
url: "function.php",
data: { candiate_form: candiate_form },
success: function(response) {
alert(response);
}
});