i am trying to make AJAX Call to ASP.Net Server Side Web service method the problem it dose not give me error or exception
i am trying to execute a peace of code when the user click button i want it ti call my custom service and execute it then return me the result in another control [Grid View ]
the code is :
<script type = "text/javascript">
function myfunction() {
$.ajax({
type: "POST",
url: "My method",
data: Bind Data,
dataType: "json",
success: alert();,
});
}
</script>
the problem is it dose not work i try the fire bug and it do not call the method
urlcorrect? and what is Bind Data indata:Bind Data