<div class="codetitle"> <span><a style="CURSOR: pointer" data="13789" class="copybut" id="copybut13789" onclick="doCopy('code13789')"><u>复제대码</u></a></span> 代码如下:</div> <div class="codebody" id="code13789"> <br><html><br><head><br>< ;script type="text/javascript" src="js/jquery.js"></script><br><script type="text/javascript"> <br>함수 getOtherMessage(){ <br>$.ajax({ <br>type:"post", <br>url:"${pageContext.request.contextPath}/getOtherMessage.do", <br>성공: function(msg){ <br>$("#view").html(msg); <br>}, <br>error:function(){ <br>alert("wrong") <br>} 🎜>}); <br>} <br></script><br></head><br><body><br><input type="button" value="修改" onclick="getOtherMessage(); " /><br><div id="view"><br>456<br></div><br></body><br></html><br><br> </div>