I am trying to pass [email protected]
in ajax but it is giving me such error
'unexpected Token Illegal.'
how can I pass such a string in ajax?
this is My Code
$.ajax({
url:'http://localhost/student',
type: 'POST',
data: {
data:"[email protected]"
},
success: function(data) {
alert(data);
}
});