I have ajax code like this
$.ajax({
url: "AJAX_POST_URL",
type: "POST",
data: {commentId:commentId,commentText:commentText},
dataType : 'json'
success: function(data)
{
if(data.error=='false'){
$('comment'+commentId).html(commentText);
}
},
});
i am facing this error "uncaught syntaxerror unexpected identifier" at url line.
please help
Thanks in advance