Can't call page method from JQuery?
<p>I have a page called AddNews.aspx and in codebehind a web method called AddNews(Parameters)..</p>

<p>AddNews.aspx page is inherited from a master page.. So i used contentplaceholder.</p>

<p>I have a button..It's id is btnSave.</p>

<p>Here is jquery code:</p>

<pre><code>$(function() {
 $("[id$='_btnSave']").click(function() {
  $.ajax({
    type: "POST",
    contentType: "application/json; charset=utf-8",
    data: $.toJSON(veriler),
    url: "AddNews.aspx/AddNews",
    dataType: "json",
    success: function(result) {
      $("#result").html('News added');
    },
    error: function() {
      alert('Problem');
    }
  });
 });
});
&lt;/script&gt;
</code></pre>

<p>Button click trigger now.. But it doesnt call Web Page Method.. What's the problem?</p>
