摘要:
利用JQuery的$.ajax()可以很方便的调用asp.net的后台方法。1.最常用方法<script language="javascript">//添加cookiefunction AddCart_Rank(LSTR_AddedID) {if (LSTR_AddedID != "") {$.ajax({type: "POST",contentType: "application/json",url: "WebService/WSCart.asmx/AddCart",async: 阅读全文