<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head id="Head"><title>
Ajax实现无刷新三联动下拉框 - 9who的程序博客,天道酬勤 - 博客园
</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta id="metaKeywords" name="keywords" content="Ajax实现无刷新三联动下拉框" /><meta name="description" content="1.html代码<HTML><HEAD><title>Ajax实现无刷新三联动下拉框&l" /><meta name="9who 技术博客" content="c#通用类库 .NET控件 AJAX技术 博客" /><link id="CommondCss" type="text/css" rel="stylesheet" href="http://www.cnblogs.com/css/common.css" /><link id="MainCss" type="text/css" rel="stylesheet" href="http://www.cnblogs.com/Skins/AnotherEon001/style.css" /><link id="CommondCss2" type="text/css" rel="stylesheet" href="http://www.cnblogs.com/css/common2.css" /><link id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="http://www.cnblogs.com/9who/rss" />
<script src="/Script/common.js" type="text/javascript"></script>
</head>
<body>
<form name="Form1" method="post" action="1255146.html" onsubmit="javascript:return WebForm_OnSubmit();" id="Form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="
__VIEWSTATE" value="" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['Form1'];
if (!theForm) {
theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script src="/WebResource.axd?d=PyW-m2hLmppJ9byT1bYEqw2&t=633363616222850001" type="text/javascript"></script>
<script language=JavaScript>
function ctlent(evt,id)
{
if(evt.ctrlKey && evt.keyCode == 13)
{
try
{
TempSave(id);
}
catch(ex)
{
}
finally
{
__doPostBack('AjaxHolder$PostComment$btnSubmit','')
}
}
}</script>
<script language=JavaScript>function SetReplyAuhor(author){document.getElementById('AjaxHolder_PostComment_tbComment').value+="@"+author+"\n";document.getElementById('AjaxHolder_PostComment_tbComment').focus();return false}</script>
<script src="/ScriptResource.axd?d=keXr1l0ODizNGwpG5umihnLbiZlZFmnBNv9PADikeydJNFn_nnzWP6nCtj5LEvCjoGqazIbHl5iuU6pakvSNXw2&t=633363616222850001" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=keXr1l0ODiwWLTaLPM0Wf405seaw-kJY_J94dRUexb3hftiy5dT0X5GxWLiqANj30&t=633065726460000000" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=keXr1l0ODiwWLTaLPM0Wf405seaw-kJY_J94dRUexb1YLr7RQriMsNXsDWOxc8wQub8O_qeSuZ41&t=633065726460000000" type="text/javascript"></script>
<script src="../../../../../WS/AjaxWS.asmx/js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
//]]>
</script>
<table width="100%" class="Framework" cellspacing="0" cellpadding="0">
<tr>
<td>
<div id="top">
<h1><a id="Header1_HeaderTitle" class="headermaintitle" href="http://www.cnblogs.com/9who/">9who的程序博客,天道酬勤</a></h1>
<div id="subtitle">寻梦的岁月从不言辛苦几多,不问收获多几...</div>
</div>
<div id="sub">
<div class="BlogStats">随笔 - 142, 文章 - 28, 评论 - 548, 引用 - 25</div>
</div>
</td>
</tr>
</table>
<table width="100%" class="Framework" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" class="LeftCell" >
<div id="leftmenu">
数据加载中……
</div>
</td>
<td class="MainCell">
<div id="main">
<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('AjaxHolder$scriptmanager1', document.getElementById('Form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHolder$UpdatePanel1'], [], [], 90);
//]]>
</script>
<div class="post">
<h2>
<a id="AjaxHolder_ctl01_TitleUrl" href="http://www.cnblogs.com/9who/archive/2008/07/28/1255146.html">Ajax实现无刷新三联动下拉框</a>
</h2>
<div class="postbody">
<p><font face="Verdana"> </p>
<div class="postText"><img height="184" hspace="0" src="http://images.cnblogs.com/cnblogs_com/singlepine/XmlHttpdropdownlist.JPG" width="494" alt="" /><br />
1.html代码<br />
<div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff"><</span><span style="color: #800000">HTML</span><span style="color: #0000ff">></span><span style="color: #000000"><br />
<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" alt="" /> </span><span style="color: #0000ff"><</span><span style="color: #800000">HEAD</span><span style="color: #0000ff">></span><span style="color: #000000"><br />
<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" alt="" /> </span><span style="color: #0000ff"><</span><span style="color: #800000">title</span><span style="color: #0000ff">></span><span style="color: #000000">Ajax实现无刷新三联动下拉框</span><span style="color: #0000ff"></</span><span style="color: #800000">title</span><span style="color: #0000ff">></span><span style="color: #000000"><br />
<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" alt="" /> </span><span style="color: #0000ff"><</span><span style="color: #800000">meta </span><span style="color: #ff0000">content</span><span style="color: #0000ff">="Microsoft Visual Studio .NET 7.1"</span><span style="color: #ff0000"> name</span><span style="color: #0000ff">="GENERATOR"</span><span style="color: #0000ff">></span><span style="color: #000000"><br />
<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" alt="" /> </span><span style="color: #0000ff"><</span><span style="color: #800000">meta </span><span style="color: #ff0000">content</span><span style="color: #0000ff">="C#"</span><span style="color: #ff0000"> name</span><span style="color: #0000ff">="CODE_LANGUAGE"</span><span style="color: #0000ff">></span><span style="color: #000000"><br />
<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" alt="" /> </span><span style="color: #0000ff"><</span><span style="color: #800000">meta </span><span style="color: #ff0000">content</span><span style="color: #0000ff">="JavaScript"</span><span style="color: #ff0000"> name</span><span style="color: #0000ff">="vs_defaultClientScript"</span><span style="color: #0000ff">></span><span style="color: #000000"><br />
<img src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align="top" alt="" /> </span><span style="color: #0000ff"><</span><span style="color: #800