Can you call C# code-behind method using jQuery? If yes,then how?

Answer Posted / chaitanya

Yes. We can call C# code-behind function via $.ajax. But for do that it is compulsory to mark the method as WebMethod.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ajax and how it works?

622


Is it possible to use jquery to make ajax request? : jquery mobile

693


Difference between javascript and jquery?

643


Can you please explain the difference between parent() and parents() methods in jquery? : jquery mobile

567


explain bind() vs live() vs delegate() methods in jquery

608


What does dollar sign ($) me in jquery?

686


Hide and show image on button click using jQuery?

604


How method can be called inside code behind using jQuery?

653


Can you write a jquery code to select all links inside the paragraph?

674


Does jquery follow w3c recommendations?

658


How To Use Ajax In Jquery?

615


How to get/set the html contents of an element using jQuery?

659


How to use migrate jquery plugin if possible? : jquery mobile

635


What is jquery mobile theming? : jquery mobile

644


Is vanilla js faster than jquery?

623