I am trying to call a method with jQuery on a button click.This is waht I have so far:
jQuery
$(\"a.AddToCart\").click(function () { var link =
If this is Asp.Net webforms you will need to make the webmethod static or the method cannot be accessed through JavaScript.