ajax»ù´¡ÔËÐв»³öÀ´£¿ - Web ¿ª·¢ / Ajax
index.html:
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Using</title>
<script type="text/javascript">
var xmlHttp;
function createXMLHttpRequest() {
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
}
function startRequest() {
createXMLHttpRequest();
xmlHttp.onreadystatechange = handleStateChange;
xmlHttp.open("post", "in.html", true);
xmlHttp.send(null);
}
function handleStateChange() {
if(xmlHttp.readyState == 4) {
if(xmlHttp.status == 200) {
document.getElementById("results").innerHTML = xmlHttp.responseText;
}
}
}
</script>
</head>
<body>
<input type="button" value="Search" onclick="startRequest();"/>
<div id="results"></div>
</body>
</html>
in.html£º
HTML code
Cod
Ïà¹ØÎÊ´ð£º
HTML code:
<tr>
<td valign="top" height="100%" id="TD1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat=&q ......
Ŀǰһ¸öÏîÄ¿£¬Óöµ½¸ö´óÎÊÌ⣬Ҫ¸ãÒ»¸öµç×ÓµØÍ¼£¬Ð¡µÜ´ÓÀ´Ã»¸ã¹ýgis·½ÃæµÄ¶«Î÷£¬Õâ´ÎÓ²×ÅͷƤÉÏÁË¡£ ÏÂÃæÊÇĿǰÓöµ½µÄ¸öÎÊÌâ¡£¡£¡£
OpenLayerÔõôÏòºǫ́·¢ËÍajaxÇëÇ󣨺ǫ́ÊÇSSH¿ò¼Ü£©£¬ÔÚÉêÇëµ½ºǫ́µÄactionºó£¬²é ......
ÕÒÁËÒ»¸ö,µ«ËÑË÷ºó²»Ìáʾ,ºÃÏñÎÊÌâ,²é²»³öÀ´ÔÒò,˰ï×Å¿´Ò»ÏÂ
http://www.chinaz.com/Program/Asp/020Q062632010.html
End_rbody_64769658//-->
¸Ã»Ø¸´ÓÚ2010-04-19 08:15:36±»°æÖ÷ɾ³ý
¶ÔÎÒÓÐ ......
ÎÒ×Ô¼º×öµÄjavascriptÍøÂçÎå×ÓÆåÓÎÏ· Ï£Íû¸÷λ¸øÐ©½¨Òé
http://www.wushen.biz/wispeeder
ʹÓÃajax+xmlʵÏÖÊý¾Ý½»»» Ö§³ÖÁ½Ïß³ÌÓû§ÔÚÏßÊÔÍæ
²»´íµÄ¶«Î÷£¬¿ÉÒÔ½øÐÐÃÀ»¯ºÍÓ¦Óã¬×îºÃÊÇ×ö³É¿ÉÒÔÊÖ»úʹÓõĶ«Î÷£¬·Åµ ......
$(document).ready(function() {
function listparam(param) {
param.OperationFlag = 1;
return param;
}
var param = {
ClassNam ......