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

📄 checkbox的jsp应用.htm

📁 有关JSP的技巧
💻 HTM
📖 第 1 页 / 共 2 页
字号:
                        color=#000099>"form1.check_id"</FONT>);<BR>&nbsp;&nbsp;&nbsp;&nbsp;<FONT 
                        color=#006600><I>//判断对象是否为空</FONT></I><BR>&nbsp;&nbsp;&nbsp;&nbsp;<B>if</B>&nbsp;(checkIdObj&nbsp;==&nbsp;null)&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>return</B>;<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;<FONT 
                        color=#006600><I>//如果check列表对象多于一个</FONT></I><BR>&nbsp;&nbsp;&nbsp;&nbsp;<B>if</B>(checkIdObj.length){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>for</B>&nbsp;(i=0;&nbsp;i&lt;checkIdObj.length;&nbsp;i++)&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>if</B>(checkIdObj[i].checked){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;form1.submit();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>return</B>;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;<FONT 
                        color=#006600><I>//否则</FONT></I><BR>&nbsp;&nbsp;&nbsp;&nbsp;<B>else</B>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>if</B>(form1.check_id.checked){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;form1.submit();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>return</B>;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>}<BR>&lt;/script&gt;<BR><BR><BR>
                        <TABLE width="100%">
                          <TBODY>
                          <TR>
                            <TD align=left width="30%"><A 
                              href="http://www.javaresearch.org/copyright.jsp">版权声明</A> 
                              &nbsp; <A 
                              href="mailto:zhou_ting2@21cn.com">给作者写信</A> </TD>
                            <TD align=right width="70%">
                              <TABLE cellPadding=1 align=right>
                                <TBODY>
                                <TR>
                                <TD bgColor=#eeeeee>
                                <TABLE cellSpacing=0 cellPadding=1 border=0>
                                <TBODY>
                                <TR>
                                <TD bgColor=#ffffff><FONT 
                                color=#777777><NOBR>本篇文章对您是否有帮助?&nbsp;&nbsp;投票:<STRONG> 
                                <A 
                                href="http://www.javaresearch.org/article/showarticle.jsp?column=331&amp;thread=6069&amp;vote=1">是</A></STRONG> 
                                &nbsp;&nbsp;&nbsp;<STRONG><A 
                                href="http://www.javaresearch.org/article/showarticle.jsp?column=331&amp;thread=6069&amp;vote=0">否</A></STRONG> 
                                &nbsp;&nbsp;&nbsp;&nbsp;投票结果:&nbsp;&nbsp; <IMG 
                                src="checkbox的jsp应用.files/cool.gif"><STRONG>&nbsp;&nbsp;7</STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<IMG 
                                src="checkbox的jsp应用.files/sad.gif"><STRONG>&nbsp;&nbsp;5</STRONG></NOBR><BR></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR></TD></TR><!--end of article content -->
              <TR>
                <TD><!-- start of comment --><BR>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD>
                        <TABLE cellSpacing=0 cellPadding=0 width="98%" 
                        align=center border=0>
                          <TBODY>
                          <TR bgColor=#eeeeee>
                            <TD width="60%">&nbsp;&nbsp;评论人:<A title=apollo47 
                              href="http://www.javaresearch.org/profile.jsp?user=35061"><B>apollo47</B></A> 
                              &nbsp;&nbsp;&nbsp;参与分: 21 &nbsp;&nbsp;&nbsp;专家分: 0 
                            </TD>
                            <TD noWrap width="40%">发表时间: 2003-8-15 下午5:56 
                          </TD></TR>
                          <TR>
                            <TD vAlign=top colSpan=2><FONT 
                              face=arial,sans-serif 
                              size=-1>这种弱智文章也发,简直是浪费大家的时间。<BR>Time&nbsp;is&nbsp;money!<BR></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD>
                        <TABLE cellSpacing=0 cellPadding=0 width="98%" 
                        align=center border=0>
                          <TBODY>
                          <TR bgColor=#d9e4f9>
                            <TD width="60%">&nbsp;&nbsp;评论人:<A 
                              title=yanchaomin 
                              href="http://www.javaresearch.org/profile.jsp?user=43526"><B>yanchaomin</B></A> 
                              &nbsp;&nbsp;&nbsp;参与分: 6 &nbsp;&nbsp;&nbsp;专家分: 0 
                            </TD>
                            <TD noWrap width="40%">发表时间: 2003-11-14 上午11:40 
                          </TD></TR>
                          <TR>
                            <TD vAlign=top colSpan=2><FONT 
                              face=arial,sans-serif size=-1>对我很有用,谢谢作者! 
                            </FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
                  <TABLE cellSpacing=0 cellPadding=1 width="100%" align=center 
                  bgColor=#cccccc border=0>
                    <TBODY>
                    <TR>
                      <TD>
                        <TABLE cellSpacing=0 cellPadding=3 width="100%" 
                        align=center bgColor=#eeeeee border=0>
                          <TBODY>
                          <TR>
                            <TD>这个文章共有 <B>2</B> 条评论,共 <B>1</B> 页 
                        </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
                  <TABLE cellSpacing=2 cellPadding=0 width="100%" align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=top noWrap width="30%"><A title=关掉那可恶的Dos窗口 
                        href="http://www.javaresearch.org/article/showarticle.jsp?column=331&amp;thread=8208"><IMG 
                        height=10 alt="Topic: 关掉那可恶的Dos窗口" hspace=2 
                        src="checkbox的jsp应用.files/prev.gif" width=10 
                        border=0></A> <A class=title title="Topic: 关掉那可恶的Dos窗口" 
                        href="http://www.javaresearch.org/article/showarticle.jsp?column=331&amp;thread=8208">上一篇文章</A> 
                      </TD>
                      <TD align=middle width="40%">
                        <TABLE cellSpacing=2 cellPadding=0 border=0>
                          <TBODY>
                          <TR>
                            <TD><A 
                              href="http://www.javaresearch.org/article/column.jsp?column=331"><IMG 
                              height=12 alt=返回文章列表 
                              src="checkbox的jsp应用.files/back_to.gif" width=12 
                              border=0></A></TD>
                            <TD noWrap><A class=title title=返回文章列表 
                              href="http://www.javaresearch.org/article/column.jsp?column=331">返回〔Java技巧集〕</A> 
                            </TD></TR></TBODY></TABLE></TD>
                      <TD vAlign=top noWrap width="30%"><A class=title 
                        title="When&nbsp;catching&nbsp;exceptions,&nbsp;don't&nbsp;cast&nbsp;your&nbsp;net&nbsp;too&nbsp;wide" 
                        href="http://www.javaresearch.org/article/showarticle.jsp?column=331&amp;thread=9876">下一篇文章</A> 
                        <A 
                        title="When&nbsp;catching&nbsp;exceptions,&nbsp;don't&nbsp;cast&nbsp;your&nbsp;net&nbsp;too&nbsp;wide" 
                        href="http://www.javaresearch.org/article/showarticle.jsp?column=331&amp;thread=9876"><IMG 
                        height=10 
                        alt="Topic: When&nbsp;catching&nbsp;exceptions,&nbsp;don't&nbsp;cast&nbsp;your&nbsp;net&nbsp;too&nbsp;wide" 
                        hspace=2 src="checkbox的jsp应用.files/next.gif" width=10 
                        border=0></A> </TD></TR></TBODY></TABLE><BR></TD></TR><!-- end of comment --><!--end of article --></TBODY></TABLE><!-- end of content --></TD></TR></TBODY></TABLE></DIV></TD>
    <TD width=1 bgColor=#000000 height=180><IMG height=1 src="" 
  width=1></TD></TR></TBODY></TABLE><!-- end of news row--><!--start of bottom row-->
<TABLE cellSpacing=0 cellPadding=0 width=762 align=center border=0>
  <TBODY>
  <TR>
    <TD width=1 bgColor=#000000><IMG height=1 src="" width=1></TD>
    <TD width=760><!--start sponsorlink-->
      <TABLE cellSpacing=0 cellPadding=0 width=760 border=0>
        <TBODY>
        <TR>
          <TD bgColor=#f2f2f2>
            <TABLE cellSpacing=0 cellPadding=0 width=740 align=center 
              border=0><TBODY>
              <TR>
                <TD vAlign=bottom height=3></TD></TR>
              <TR>
                <TD vAlign=bottom><B>文字广告链接</B></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD align=middle bgColor=#f2f2f2>
            <TABLE cellSpacing=0 cellPadding=2 width=750 border=0>
              <TBODY>
              <TR>
                <TD align=middle bgColor=#000000 colSpan=2 height=1></TD></TR>
              <TR>
                <TD class=small align=right width="25%">数巨报表:</TD>
                <TD class=small width="75%"><A href="http://www.maxrpt.com/" 
                  target=_blank>面向集成的WEB报表系统,全程图形化设计,全面的STRUTS构架支持</A></TD></TR>
              <TR>
                <TD class=small align=right width="25%">杰创网络报表:</TD>
                <TD class=small width="75%"><A href="http://www.jatools.com/" 
                  target=_blank>支持applet,dhtml,pdf 
              输出格式,可与任何一款J2EE服务器紧密集成</A></TD></TR>
              <TR>
                <TD class=small align=right width="25%">华丹CHARISMA报表平台:</TD>
                <TD class=small width="75%"><A href="http://www.huadan.biz/" 
                  target=_blank>基于J2EE,MVC极速开发平台+自定义Web报表引擎</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD bgColor=#995f14 height=1><IMG height=1 src="" width=1></TD></TR>
        <TR>
          <TD bgColor=#0099cc height=20>
            <P align=center><A 
            href="http://www.javaresearch.org/aboutus.jsp"><FONT 
            color=#ffffff>关于 JR</FONT></A>&nbsp; |&nbsp; <A 
            href="http://www.javaresearch.org/copyright.jsp"><FONT 
            color=#ffffff>版权声明</FONT></A>&nbsp; |&nbsp; <A 
            href="mailto:webmaster@javaresearch.org"><FONT 
            color=#ffffff>联系我们</FONT></A>&nbsp; </P></TD></TR>
        <TR>
          <TD bgColor=#000000 height=20>
            <P align=center><FONT face="Arial, Helvetica, sans-serif" 
            color=#ffffff>&copy;2002-2003&nbsp;Java研究组织&nbsp;版权所有 </FONT></P></TD></TR>
        <TR>
          <TD bgColor=#995f14 height=1></TD></TR></TBODY></TABLE></TD>
    <TD width=1 bgColor=#000000><IMG height=1 src="" 
width=1></TD></TR></TBODY></TABLE><!--end of bottom row--></BODY></HTML>

⌨️ 快捷键说明

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