I wanted to call the c# function by using ajax and jquery.So i refer the code from
here
The script code is following.While debugging the debugger does not go to ajax post type line it skip that part and gave alert "ERROR".I dont know why it does not go inside the post method.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script type="text/javascript">
$(function () {
$('.button').click(function () {
var name = $('#txtuser').val();
var pwd = $('#txtpwd').val();
if (name != '' && pwd != '') {
$.ajax({
type: "POST",
content ...
Go to the complete details ...