How to call a server side function on a jQuery click event
<p>I am a newbie to ASP.NET. i wish to invoke a server side event/function on a client click, without refreshing the page. I tried ajax,__dopostback etc... but failed miserably.. may be because of my less knowledge in ASP</p>

<p>Can anyone help me pls</p>

<p>$.ajax({</p>

<pre><code>                             type:"POST",
                               url:"projects.aspx/slides",
                               data: "{'value':''}",
                              contentType:"application/json;charset=utf-8",
                               dataType:"json",

                              //cache:false,
                               success:function(data){
                                   alert("OK");
                                  alert(data.d);
                               },
                               error:function(XMLHttpRequest,textStatus,errorThrown)
                               {
                                   alert(textStatus);
                               }

                           });
</code></pre>

<p>This is my ajax code.. Is there any problem with this??</p>
