Can't call page method from JQuery?
- by user356787
I have a page called AddNews.aspx and in codebehind a web method called AddNews(Parameters)..
AddNews.aspx page is inherited from a master page.. So i used contentplaceholder.
I have a button..It's id is btnSave.
Here is jquery code:
$(function() {
$("[id$='_btnSave']").click(function() {
$.ajax({
type: "POST",
contentType:…