I’m getting the following error: missing : after property id in line
data:{$("#msgForm").serialize() + "&field=msg_from"}
The code looks like the following:
$("#msg_from").autocomplete({
source:
function (req, resp){
$.ajax({
url: "autocompl.asp",
data:{$("#msgForm").serialize() + "&field=msg_from"}
});
}
});
Any clue?
in your case it should be:
in other cases, when using
{}, you also need a key: