<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><br><br><script type="text/javascript" src="js/jquery.js"></script><br><script type="text/javascript"> <BR>function getOtherMessage(){ <BR>$.ajax({ <BR>type:"post", <BR>url:"${pageContext.request.contextPath}/getOtherMessage.do", <BR>success:function(msg){ <BR>$("#view").html(msg); <BR>}, <BR>error:function(){ <BR>alert("wrong"); <BR>} <BR>}); <BR>} <BR></script><br><br><br><input type="button" value="修改" onclick="getOtherMessage();"><br><div id="view"> <br>456<br> </div> <br><br><br> </div>