<div class="codetitle"> <span><a style="CURSOR: pointer" data="38656" class="copybut" id="copybut38656" onclick="doCopy('code38656')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code38656"> <br>$.ajax({ type: "post", url: "Handler1.ashx", data: { username: "admin", password: "123" }, <br>success: successHandle }); <br>function successHandle(rep) { <br>$("#msg").html(rep); <br>} <br> </div>