Hi all,
In my application i want to call a serverside method from jquery
here is code
$.ajax({
type: "POST",
// url: "Busbooking.aspx/ConductorTable",
url: "WebService1.asmx/insert1",
data: "{'tourdate':'" + tourdate + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg) {
// alert(msg);
// alert(msg.d);
if (msg.d == "Success") {
//call serverside function
bind();
}
}
});
//srver side code
public void bind()
{
some code
}
my requirement is if msg.d=="Success"
i want to call bind() method
how to solve this
Regards
baiju