摘要:
jQuery.post( url, [data], [callback], [type] ) :使用POST方式来进行异步请求 参数: url (String) : 发送请求的URL地址. data (Map) : (可选) 要发送给服务器的数据,以 Key/value 的键值对形式表示。 callback (Function) : (可选) 载入成功时回调函数(只有当Response的返... 阅读全文
posted @ 2009-04-10 09:31
钱途无梁
阅读(180894)
评论(2)
推荐(1)
摘要:
函数原型:$.post(url, params, callback) url是提交的地址,eg: "sample.ashx" params是参数,eg: { name:"xxx" , id:"001" } callback是回调函数,eg: function(msg){ alert(msg); } 注意1:在sample.ashx那段,使用context.Request["id"]和conte... 阅读全文
posted @ 2009-04-10 09:24
钱途无梁
阅读(2692)
评论(1)
推荐(0)
浙公网安备 33010602011771号