Hi Super_user,
Please provide more clarity on ur question.
I think ur code is not working may the response coming from server is not in valid string format abd by the way, you are not saving the data after converting it using JSON.stringify so thats causing the problem may be. Inside alert only u r converting into string but not while spilting it.
I have used the below code in my application & its working fine.
success: function (data) {
debugger
var dataInStringFormat = JSON.stringify(data);
var data1 = dataInStringFormat.split('*')[0];
var data2 = dataInStringFormat.split('*')[1];
alert(data1);
alert(data2);
},
Please revert back with ur queries if any.