⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 求jsp+sql二级联动菜单! - 程序开发 - techweb-技术社区 - powered by techweb_com_cn!.htm

📁 一个连接数据库实现级联的代码
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0052)http://tech.techweb.com.cn/viewthread.php?tid=247154 -->
<HTML><HEAD><TITLE>求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb.com.cn!</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gbk">
<META 
content=,程序开发,操作系统,服务器,源码下载,Linux,Unix,BSD,PHP,Apach,asp,下载,源码,黑客,安全,技术社区,技术论坛 
name=keywords>
<META content="TechWeb-技术社区  - TechWeb.com.cn!" name=description>
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<META content=TRUE name=MSSmartTagsPreventParsing>
<META http-equiv=MSThemeCompatible content=Yes><LINK title=TechWeb-技术社区 
href="http://tech.techweb.com.cn/archiver/" rel=archives><LINK 
href="http://www.techweb.com.cn/favicon.ico" rel="shortcut icon"><LINK 
href="http://www.techweb.com.cn/animated_favicon1.gif" type=image/gif 
rel=icon><LINK id=css 
href="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/style_4.css" 
type=text/css rel=stylesheet>
<SCRIPT 
src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/common.js" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/menu.js" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/ajax.js" 
type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>var IMGDIR = 'images/tw';var SMDIR = 'images/smilies';</SCRIPT>
</HEAD>
<BODY onkeydown="if(event.keyCode==27) return false;">
<CENTER>
<DIV class=main style="BACKGROUND: #ffffff; WIDTH: 940px">
<DIV class=mainborder style="WIDTH: 920px"></DIV>
<DIV class=maintable>
<DIV 
style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; MARGIN-TOP: 4px; BACKGROUND: #f1f0f0; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; LINE-HEIGHT: 25px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 25px; TEXT-ALIGN: center"><SPAN 
class=hmenu><A class=mainlinks href="http://www.techweb.com.cn/" 
target=_blank><STRONG>网站首页</STRONG></A>  |   <A class=mainlinks title=业界社区 
href="http://forum.techweb.com.cn/" target=_blank><STRONG>业界社区</STRONG></A>  |  
<A class=mainlinks title=电信社区 href="http://comm.techweb.com.cn/" 
target=_blank><STRONG>电信社区</STRONG></A>  |  <A class=mainlinks title=技术社区 
href="http://tech.techweb.com.cn/" target=_blank><STRONG>技术社区 </STRONG></A>  |  
<A class=mainlinks title=极客社区 href="http://geek.techweb.com.cn/" 
target=_blank><STRONG>极客社区</STRONG></A>  |  <A class=mainlinks title=游戏社区 
href="http://game.techweb.com.cn/" target=_blank><STRONG>游戏社区</STRONG></A>  | 
 <A class=mainlinks title=生活社区 href="http://life.techweb.com.cn/" 
target=_blank><STRONG>生活社区</STRONG></A>   |   <A class=mainlinks title=科技博客 
href="http://blog.techweb.com.cn/" target=_blank><STRONG>科技博客</STRONG></A>  |   
<A class=mainlinks title="同事录 关系网" href="http://tongshilu.com/" 
target=_blank><STRONG><FONT color=red>同事录</FONT></STRONG></A></SPAN></DIV></DIV>
<DIV class=headerline style="WIDTH: 920px; HEIGHT: 6px"></DIV>
<DIV class=maintable style="WIDTH: 98%">
<DIV style="WIDTH: 100%; HEIGHT: 90px; TEXT-ALIGN: left"><A 
href="http://tech.techweb.com.cn/index.php"><IMG alt=TechWeb-技术社区 
src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/logo.gif" 
border=0></A> </DIV></DIV>
<DIV class=headermenu style="WIDTH: 98%">
<DIV class=maintable>
<DIV style="FLOAT: left; LINE-HEIGHT: 30px"><A title=下载SAP解决方案产品演示 
href="http://ad.cn.doubleclick.net/click;h=v2|3A1D|0|0|*|x;207893795;0-0;0;30045903;31-1|1;27664803|27682682|1;;?http://www.bestsapchina.com/sme/index.asp?utm_source=om-thw&amp;utm_medium=tnt&amp;utm_term=x&amp;utm_content=m0900&amp;utm_campaign=m&amp;srcid=m_om_thw_tnt_x_emi1_7_emigb_m0900" 
target=_blank><FONT color=red>下载SAP解决方案产品演示</FONT></A></DIV>
<DIV class=right id=menu><SPAN class=bold>游客: </SPAN><A 
href="http://tech.techweb.com.cn/register.php">注册</A> | <A 
href="http://tech.techweb.com.cn/logging.php?action=login">登录</A> | <A 
href="http://tech.techweb.com.cn/search.php">搜索</A> | <A 
href="http://tech.techweb.com.cn/faq.php">帮助</A> </DIV></DIV></DIV>
<DIV class=headerline style="WIDTH: 920px; HEIGHT: 6px"></DIV>
<DIV class=maintable><BR>
<DIV class="subtable nav" style="WIDTH: 98%"><SPAN id=forumlist 
onmouseover=showMenu(this.id)><A 
href="http://tech.techweb.com.cn/index.php">TechWeb-技术社区</A></SPAN> &raquo; <A 
href="http://tech.techweb.com.cn/forum-10-1.html">程序开发</A> &raquo; 
求JSP+sql二级联动菜单!</DIV><BR></DIV><!--<iframe width=930 margin=0 height=75 frameborder=0 scrolling=no src=http://www.techweb.com.cn/forumtop/tech_txt.shtml></iframe>-->
<DIV class=maintable>
<TABLE style="CLEAR: both" cellSpacing=0 cellPadding=0 width="98%" 
  align=center><TBODY>
  <TR>
    <TD vAlign=bottom>
      <DIV style="MARGIN-BOTTOM: 6px"><A style="FONT-WEIGHT: normal" 
      href="http://tech.techweb.com.cn/redirect.php?fid=10&amp;tid=247154&amp;goto=nextoldset">&#8249;&#8249; 
      上一主题</A> | <A style="FONT-WEIGHT: normal" 
      href="http://tech.techweb.com.cn/redirect.php?fid=10&amp;tid=247154&amp;goto=nextnewset">下一主题 
      &#8250;&#8250;</A><BR></DIV></TD>
    <TD vAlign=bottom align=right width="40%">
      <DIV class=right><A 
      href="http://tech.techweb.com.cn/post.php?action=reply&amp;fid=10&amp;tid=247154&amp;extra="><IMG 
      alt="" 
      src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/reply.gif" 
      border=0></A></DIV>
      <DIV class=right id=newspecialheader onmouseover=showMenu(this.id)><A 
      href="http://tech.techweb.com.cn/post.php?action=newthread&amp;fid=10&amp;extra="><IMG 
      alt="" 
      src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/newtopic.jpg" 
      border=0></A><A 
      href="http://tech.techweb.com.cn/viewthread.php?tid=247154###"><IMG alt="" 
      src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/newspecial.gif" 
      border=0></A></DIV>
      <DIV class="popupmenu_popup newspecialmenu" id=newspecialheader_menu 
      style="DISPLAY: none">
      <TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
        <TBODY>
        <TR>
          <TD class=popupmenu_option>
            <DIV class=newspecial><A 
            href="http://tech.techweb.com.cn/post.php?action=newthread&amp;fid=10&amp;extra=&amp;poll=yes">投票</A></DIV></TD></TR>
        <TR>
          <TD class=popupmenu_option>
            <DIV class=newspecial><A 
            href="http://tech.techweb.com.cn/post.php?action=newthread&amp;fid=10&amp;extra=&amp;trade=yes">交易</A></DIV></TD></TR>
        <TR>
          <TD class=popupmenu_option>
            <DIV class=newspecial><A 
            href="http://tech.techweb.com.cn/post.php?action=newthread&amp;fid=10&amp;extra=&amp;reward=yes">悬赏</A></DIV></TD></TR>
        <TR>
          <TD class=popupmenu_option>
            <DIV class=newspecial><A 
            href="http://tech.techweb.com.cn/post.php?action=newthread&amp;fid=10&amp;extra=&amp;activity=yes">活动</A></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV>
<SCRIPT type=text/javascript>function fastreply(subject) {if($('postform')) {$('postform').subject.value = subject;$('postform').message.focus();}}</SCRIPT>

<DIV class=maintable>
<DIV class=spaceborder style="WIDTH: 98%; BORDER-BOTTOM: medium none">
<TABLE cellSpacing=0 cellPadding=6 width="100%" align=center>
  <TBODY>
  <TR class=header>
    <TD style="COLOR: #ffffff" colSpan=2>
      <DIV class=right style="FONT-WEIGHT: normal"><A 
      href="http://tech.techweb.com.cn/viewthread.php?action=printable&amp;tid=247154" 
      target=_blank>打印</A> | <A 
      href="http://tech.techweb.com.cn/misc.php?action=emailfriend&amp;tid=247154">推荐</A> 
      | <A id=ajax_subscription onclick="ajaxmenu(event, this.id)" 
      href="http://tech.techweb.com.cn/my.php?item=subscriptions&amp;subadd=247154">订阅</A> 
      | <A id=ajax_favorite onclick="ajaxmenu(event, this.id)" 
      href="http://tech.techweb.com.cn/my.php?item=favorites&amp;tid=247154">收藏</A> 
      </DIV>标题: <A 
      href="http://tech.techweb.com.cn/forumdisplay.php?fid=10&amp;filter=type&amp;typeid=24">[java]</A> 
      求JSP+sql二级联动菜单!</TD></TR></TBODY></TABLE></DIV>
<FORM name=delpost 
action=topicadmin.php?action=delpost&amp;fid=10&amp;tid=247154&amp;page=1 
method=post><INPUT type=hidden value=5c651b12 name=formhash> 
<DIV class=spaceborder 
style="BORDER-TOP: medium none; MARGIN-BOTTOM: 4px; WIDTH: 98%">
<TABLE class=t_row cellSpacing=0 cellPadding=6 width="100%" align=center>
  <TBODY>
  <TR style="HEIGHT: 100%">
    <TD class=t_user vAlign=top width="18%"><A name=pid849220></A><A 
      class=bold href="http://tech.techweb.com.cn/space-uid-81640.html" 
      target=_blank>大腕</A> <BR>
      <DIV class=smalltxt>TW注册会员<BR><IMG alt="Rank: 2" 
      src="求JSP+sql二级联动菜单! - 程序开发 - TechWeb-技术社区 - Powered by TechWeb_com_cn!.files/star_level2.gif"><BR><BR><BR><BR>UID 
      81640<BR>精华 0<BR>积分 191<BR>帖子 138<BR>阅读权限 20<BR>注册 2006-8-29<BR>状态 离线 
      </DIV></TD>
    <TD 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px" 
    vAlign=top width="82%">
      <TABLE class=t_msg cellSpacing=0 cellPadding=6 border=0>
        <TBODY>
        <TR>
          <TD>
            <DIV>
            <DIV class="right t_number"><A class=bold title=复制帖子链接到剪贴板 
            onclick="setcopy('http://tech.techweb.com.cn/viewthread.php?tid=247154&amp;page=1#pid849220', '已经复制到剪贴板')" 
            href="http://tech.techweb.com.cn/viewthread.php?tid=247154###">#1</A></DIV>
            <DIV style="PADDING-TOP: 6px">发表于 2008-7-15 15:49 <A 
            href="http://tech.techweb.com.cn/profile-uid-81640.html" 
            target=_blank>资料</A> <A 
            href="http://tech.techweb.com.cn/pm.php?action=send&amp;uid=81640" 
            target=_blank>短消息</A> <A id=ajax_buddy_0 
            onclick="ajaxmenu(event, this.id)" 
            href="http://tech.techweb.com.cn/memcp.php?action=buddylist&amp;newbuddyid=81640&amp;buddysubmit=yes" 
            target=_blank>加为好友</A> </DIV></DIV></TD></TR>
        <TR>
          <TD class=line style="PADDING-TOP: 10px" vAlign=top height="100%">
            <DIV style="FLOAT: right" align=right><A title="评分 0" 
            href="http://tech.techweb.com.cn/misc.php?action=viewratings&amp;tid=247154&amp;pid=849220"></A></DIV><SPAN 
            class=bold>求JSP+sql二级联动菜单!</SPAN><BR><BR>
            <DIV class=t_msgfont 
            id=message849220><B>现在要做一个查询页面,有两个下拉框,第一级菜单是选择分公司,第二级选择每个分公司对应的用电地点 
            <FONT 
            style="FONT-SIZE: 0px; COLOR: #ffffff">程序开发,操作系统,服务器,源码下载,Linux,Unix,BSD,PHP,Apach,asp,下载,源码,黑客,安全,技术社区,技术论坛"V.}(V-w*a</FONT><BR><FONT 
            style="FONT-SIZE: 0px; COLOR: #ffffff">(r:@!U2Y:V"f"l,T</FONT><BR>我选择分公司名称的时候,第二个下拉框的用电地点会跟着变。 
            <BR><SPAN style="DISPLAY: none">f#q%x;Y'P</SPAN><FONT 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -