SoFunction
Updated on 2025-03-09

jquery's ajax obtains the corresponding region name of the IP address from Pure Real Network


<html>
<head>
<title>jquery demo</title>
<script type="text/javascript" src="http://img./jslib/jquery/jquery-1.3."></script>
<script type="text/javascript">
$(document).ready(function(){
$("#cz88").load("http:///ip/");
$("#cz88").ajaxStop(function(){
var ip = $("#cz88 #AddrMessage").text();
$("#ip").val(ip);
})
})
</script>
</head>

<body>
<div style="display:none;"></div>
<input type="text" name="ip" />
</body>
</html>