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 =
place script method this way as shown below
[WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)]