<div class="codetitle"> <span><a style="CURSOR: pointer" data="33552" class="copybut" id="copybut33552" onclick="doCopy('code33552')"><u>复代码</u></a></span> 代码如下:</div> <div class="codebody" id="code33552"> <br><html> <br><머리> <br><title>jquery 데모</title> <br><script type="text/javascript" src="http://img.jb51.net/jslib/jquery/jquery-1.3.2.min.js"></script> <br><script type="text/javascript"> <br>$(document).ready(function(){ <br>$("#cz88").load("http://www.cz88.net/ip/viewip468.aspx"); <br>$ ("#cz88").ajaxStop(function(){ <br>var ip = $("#cz88 #AddrMessage").text(); <br>$("#ip").val(ip); <br>}) <br>}) <br></script> <br></head> <br><br><본문> <br><div id="cz88" style="display:none;"></div> <br><input type="text" name="ip" id="ip" /> <br></body> <br></html><br> </div> <br>保存到本地,例如get.htm即可