function LoadAdvListPage() {
$.ajax({
type: 'post',
url: <%= generatecharts %> ,
data: {
},
success: function (data) {
alert("success");
}
});
}
$(document).ready(function () {
LoadAdvListPage();
});
Above is my java script function which calls the Ajax method but don’t know some how its throwing error like missing } after property list
can anybody guide me whts the problem?
I don’t know if something is above code you posted but here is an extra }
Edit:
So there is opening
{above. Try doing like @Yuriy Rozhovetskiy wrote in comment, it’s url param so for sure it shouldn’t be json, but""are still needed .