Home > Web Front-end > JS Tutorial > Pass variables between two tables_JavaScript

Pass variables between two tables_JavaScript

PHP中文网
Release: 2016-05-16 19:29:07
Original
1005 people have browsed it

 
<P>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>彭城汽车二手信息</title>
<link href="inc/css.css" rel="stylesheet" type="text/css">
<script LANGUAGE="JavaScript">
<!--
function delpl(id)
{
if (confirm(&#39;你确定要删除此条信息吗?&#39;)){
window.open("pl_del.asp?id="+id,"","width=300,height=100,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no");}}
function checkMobile(){</P>
<P> var sMobile = document.mobileform.mobile.value</P>
<P> if(!(/^13[0-9]\d{4,8}$/.test(sMobile))){</P>
<P>  alert("不是完整的11位手机号或者正确的手机号前七位");</P>
<P>  document.mobileform.mobile.focus();</P>
<P>  return false;
 }</P>
<P> window.open(&#39;&#39;, &#39;mobilewindow&#39;, &#39;height=197,width=350,status=yes,toolbar=no,menubar=no,location=no&#39;)</P>
<P>}</P>
<P>//--></P>
<P></script>
<style type="text/css">
<!--
.STYLE6 {color: #000000}
.dxyinput {border:1px solid #CCCCCC;
font-size:12px;
}
-->
</style>
</head>
<body style="margin:0px" onselectstart="return false" onpaste="return false" oncopy="return false;" oncut="return false;">
<table width="777" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td><iframe border=0 name=LOGIN marginwidth=0 framespacing=0 
      marginheight=0 src="/indeximg/topnew.htm" frameborder=0 noresize width=777
      scrolling=no height="130" vspale="0"></iframe></td>
  </tr>
</table>
<table width="777" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="97"><img src="img/auto1.gif" width="97" height="68"></td>
    <td width="580" valign="top" background="img/auto2.gif"><table width="100%" height="5" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td></td>
      </tr>
    </table>
        <style type="text/css">
<!--
.STYLE7 {color: #FFFFFF}
-->
</style>
<table width="100%" height="40" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="20%"><a href="index.asp" class="a1">二手信息首页</a></td>
    <td width="20%"><span class="STYLE7">[</span><span class="STYLE2">车</span><span class="STYLE7">]</span><a href="sellnews.asp" target="_blank" class="a1">出售信息</a></td>
    <td width="20%"><span class="STYLE7">[</span><span class="STYLE2">车</span><span class="STYLE7">]</span><a href="buynews.asp" target="_blank" class="a1">求购信息</a></td>
    <td width="20%"><span class="STYLE7">[</span><span class="STYLE2">供</span><span class="STYLE7">]</span><a href="class3.asp" title="发布求职信息..." target="_blank" class="a1">车类信息</a></td>
    <td width="20%"><span class="STYLE7">[</span><span class="STYLE2">求</span><span class="STYLE7">]</span><a href="class4.asp" class="a1" title="发布招聘信息">车类信息</a></td>
  </tr>
  <tr>
    <td><a href="postnews2.asp" target="_blank" class="a1"><font color="#FFFF00">发布求购信息</font></a></td>
    <td><a href="postnews.asp" target="_blank" class="a1"><font color="#FFFF00">发布出售信息</font></a></td>
    <td><a href="postnews3.asp" target="_blank" class="a1"><font color="#FFFF00">发布供车类信息</font></a></td>
    <td><a href="postnews4.asp" target="_blank" class="a1"><font color="#FFFF00">发布求车类信息</font></a></td>
    <td> </td>
  </tr>
</table></P>
<P> </td>
    <td width="100"><img src="img/auto3.gif" width="100" height="68"></td>
  </tr>
</table>
<table width="777" height="44" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="165" valign="top"><table width="158" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #cccccc">
      <tr>
        <td height="20"><table width="155" border=0 align="center" cellpadding=0 cellspacing=0>
          <tbody>
            <tr>
              <td width=20><img height=20 
                  src="img/title_left.gif" width=20></td>
              <td background=img/title_bg.gif>二手公告</td>
              <td width=1><img height=20 
                  src="img/title_right.gif" 
              width=1></td>
            </tr>
          </tbody>
        </table></td>
      </tr>
      <tr>
        <td><marquee direction="up" width="155" height="120" scrollamount="1" onMouseOut="this.start()" onMouseOver="this.stop()">
    <span class="STYLE2">1</span>
、本网站免费提供二手信息平台,并不保证信息的真实可靠性,请大家小心交易,一切后果自负。 
    <span class="STYLE2">2</span>、本网站有权对任何信息给予删除,修改或不予审核
凡发布、删除二手信息者,请用您发布信息的联系电话来电或短信(用其他的电话我们将不予审核),我们据此给您审核公布。
    联系电话:<font color=red>82155578 82088723</font>
[上午8:30-11:30]
[下午1:30-5:30]
这个时间请于我们联系,其它时间不予办理。
        </marquee>
</td>
      </tr>
    </table>
      <table width="155" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="158" border="0" cellpadding="0" cellspacing="1" style="border:1px solid #cccccc">
        <tr>
          <td width="160"><table width="155" border=0 align="center" cellpadding=0 cellspacing=0>
              <tbody>
                <tr>
                  <td width=20><img height=20 
                  src="img/title_left.gif" width=20></td>
                  <td background=img/title_bg.gif>用户登录</td>
                  <td width=1><img height=20 
                  src="img/title_right.gif" 
              width=1></td>
                </tr>
              </tbody>
            </table>
              <table width="155" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                <tr>
                  <td height="3" colspan="2"></td>
                </tr>
                <tr>
                  <td width="59" nowrap>用户名:</td>
                  <td width="96"><input name=username style="BORDER: #000000 1px solid; width:80; font-size:12px" size="10"></td>
                </tr>
                <tr>
                  <td nowrap><div align="right"></div></td>
                  <td> </td>
                </tr>
                <tr>
                  <td nowrap>密  码:</td>
                  <td><input name=password 
                  type=password style="BORDER: #000000 1px solid; width:80; font-size:12px" size="10"></td>
                </tr>
                <tr>
                  <td> </td>
                  <td> </td>
                </tr>
                <tr>
                  <td colspan="2"><div align="center">
                      <input type=image height=21 
                        width=62 src="img/denglu.gif" 
                        border=0 name=imageField>
                     
                    <input type=image height=21 
                        width=62 src="img/zhuce.gif" 
                        border=0 name=imageField2>
                  </div></td>
                </tr>
            </table></td>
        </tr>
      </table>
      <table width="155" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="158" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #CCCCCC">
        <tr>
          <td valign="top"><table width="155" border=0 align="center" cellpadding=0 cellspacing=0>
             <tr>
                  <td width=20><img height=20 
                  src="img/title_left.gif" width=20></td>
                  <td background=img/title_bg.gif>商家推荐</td>
                  <td width=1><img height=20 
                  src="img/title_right.gif" 
              width=1></td>
            </tr>             
            </table>
              <table width="100%" height="44" border="0" cellpadding="0" cellspacing="0" class="tr1">
                <tr>
                  <td height="20"><a href="http://pcqc.86516.com/shangjia/yanhua/index.html" target="_blank"></a></td>
                </tr>
    <tr><td height="2"></td></tr>
    <tr>
                  <td height="20"><a href="http://pcqc.86516.com/dianzit/index.htm" target="_blank"><img src="ads/tiaoxiao.gif" width="155" height="80" border="0"></a>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="5"></td>
                      </tr>
                      <tr>
                        <td><img src="img/logo_xin.gif" width="155" height="80" border="0" /></td>
                      </tr>
                    </table></td>
                </tr>
    <tr><td height="2"></td></tr>                
            </table></td>
        </tr>
      </table>
      <table width="155" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="158" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #CCCCCC">
        <tr>
          <td valign="top"><table width="155" border=0 align="center" cellpadding=0 cellspacing=0>
            <tbody>
              <tr>
                <td width=20><img height=20 
                  src="img/title_left.gif" width=20></td>
                <td background=img/title_bg.gif>文字广告</td>
                <td width=1><img height=20 
                  src="img/title_right.gif" 
              width=1></td>
              </tr>
            </tbody>
          </table>
            <table width="100%" height="20" border="0" cellpadding="0" cellspacing="0" class="tr1">
              <tr>
                <td height="20">·<a href="http://pcqc.86516.com/dianzit/index.htm" target="_blank">调校电子里程表</a></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="155" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="158" height="53" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="155" height="120">
            <param name="movie" value="ads/aichebaoyang.swf">
            <param name="quality" value="high">
            <embed src="ads/aichebaoyang.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="155" height="120"></embed>
          </object></td>
        </tr>
        <tr>
          <td height="3" valign="top"></td>
        </tr>
        <tr>
          <td valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="155" height="120">
            <param name="movie" value="ads/wangshangdinggou.swf">
            <param name="quality" value="high">
            <embed src="ads/wangshangdinggou.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="155" height="120"></embed>
          </object></td>
        </tr>
        <tr>
          <td height="3" valign="top"></td>
        </tr>
        <tr>
          <td valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="155" height="120">
            <param name="movie" value="ads/xinchedakantai.swf">
            <param name="quality" value="high">
            <embed src="ads/xinchedakantai.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="155" height="120"></embed>
          </object></td>
        </tr>
        <tr>
          <td height="3" valign="top"></td>
        </tr>
      </table>
      <table width="158" height="53" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top"><table width="155" border=0 align="center" cellpadding=0 cellspacing=0>
            <tbody>
              <tr>
                <td width=20><img height=20 
                  src="img/title_left.gif" width=20></td>
                <td background=img/title_bg.gif>热点推荐</td>
                <td width=1><img height=20 
                  src="img/title_right.gif" 
              width=1></td>
              </tr>
            </tbody>
          </table>
            <table width="155" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td> </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="5"></td>
      </tr>
    </table>
    <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#999999"> 
      <tr>
          <td width="13%" height="25" bgcolor="#F5f5f5"><div align="right">信息类别:</div></td>
          <td width="39%" bgcolor="#F5f5f5">出售信息</td>
          <td width="12%" bgcolor="#F5f5f5">人气:</td>
          <td width="36%" bgcolor="#F5f5f5">26</td>
      </tr>
        <tr>
          <td height="25" bgcolor="#FFFFFF"><div align="right">车型:</div></td>
          <td bgcolor="#FFFFFF">轿车</td>
          <td bgcolor="#FFFFFF">品牌型号:</td>
          <td bgcolor="#FFFFFF"><span style="color:#FF0000">桑塔纳2000电喷</span></td>
        </tr>
        <tr>
          <td height="25" bgcolor="#F5f5f5"><div align="right">年限:</div></td>
          <td bgcolor="#F5f5f5" style="color:#FF0000">96年底</td>
          <td bgcolor="#F5f5f5" style="color:#FF0000">意向价格:</td>
          <td bgcolor="#F5f5f5" style="color:#FF0000">4万9</td>
        </tr>
        <tr>
          <td height="25" bgcolor="#FFFFFF"><div align="right">交易地区:</div></td>
          <td colspan="3" bgcolor="#FFFFFF">徐州</td>
        </tr>
        <tr>
          <td height="12" bgcolor="#F5F5F5"><div align="right">信息标题:</div></td>
          <td colspan="3" bgcolor="#F5F5F5"><strong>出售桑塔纳2000</strong><span class="STYLE2">★</span></td>
        </tr>
        <tr>
          <td height="25" bgcolor="#FFFFFF"><div align="right">相关介绍:
          </div></td>
          <td colspan="3" bgcolor="#FFFFFF" style="line-height:180%"><textarea name="textarea" cols="60" rows="5" style="overflow:hidden; border:1px solid #999999" onFocus="this.style.posHeight=this.scrollHeight">私户,手续齐全,全车无事故,车况好,空调特凉,小电喷,真皮坐椅,带保险。</textarea></td>
        </tr>
        <tr>
          <td height="25" bgcolor="#ddf3ff"><div align="right">联系人:</div></td>
          <td colspan="3" bgcolor="#ddf3ff">王先生</td>
        </tr>
        <tr>
          <td height="25" bgcolor="#FFFFFF"><div align="right">联系电话:</div></td>
          <td colspan="3" bgcolor="#FFFFFF" style="color:#FF0000">
    82791577</td>
        </tr>
  <FORM METHOD=POST ACTION="http://www.ip138.com:8080/search.asp" name="mobileform" target="mobilewindow" onSubmit="return checkMobile();">
        <tr>
          <td height="25" bgcolor="#F5F5F5"><div align="right">手机:</div></td>
          <td colspan="3" bgcolor="#F5F5F5" style="color:#FF0000">
    
    <input type="text" name="mobile" size="16" style="border:1px solid #030303" value="13056222198"/>
    <input name="submit" type="submit" value="手机归属地查询" />
    <input type="hidden" name="action" value="mobile" />
          <label>注:<span class="STYLE6">最好与徐州本地用户交易</span></label>
        </td>
        </tr>
  </form>
        <tr>
          <td height="25" bgcolor="#FFFFFF"><div align="right">联系地址:</div></td>
          <td colspan="3" bgcolor="#FFFFFF">未知</td>
        </tr>
        <tr>
          <td height="25" bgcolor="#F5F5F5"><div align="right">电子邮箱:</div></td>
          <td colspan="3" bgcolor="#F5F5F5">未知</td>
        </tr>
        <tr>
          <td height="5" bgcolor="#FFFFFF"><div align="right">QQ:</div></td>
          <td colspan="3" bgcolor="#FFFFFF">未知</td>
        </tr>
        <tr>
          <td height="6" bgcolor="#FFFFFF"><div align="right">发布日期:</div></td>
          <td colspan="3" bgcolor="#FFFFFF">2006-6-24</td>
        </tr>
        <tr>
          <td height="12" bgcolor="#FFFFFF"><div align="right">对方ip:</div></td>
          <td colspan="3" bgcolor="#FFFFFF">222.187.*.* </td>
        </tr>
    </table>    
    <table width="98%" height="49" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td>
</td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="5">
          <form name="form1" method="post" action="pl_post.asp">
            <tr>
              <td colspan="2" align="left"><font color="red">参与评论:</font></td>
            </tr>
            <tr>
              <td width="18%"><div align="right">呢称:</div></td>
              <td width="82%"><div align="left">
                  <input name="guestname" type="text" class="dxyinput" id="guestname" value="dxy" size="30">
                  <input name="news_id" type="hidden" id="news_id" value="16895">
              </div></td>
            </tr>
            <tr>
              <td><div align="right">标题:</div></td>
              <td><div align="left">
                <input name="title" type="text" class="dxyinput" id="title" value="回复:出售桑塔纳2000" size="50">
</div></td>
            </tr>
            <tr>
              <td><div align="right">内容:</div></td>
              <td align="left"><textarea name="content" cols="60" rows="8" class="dxyinput" id="content"></textarea></td>
            </tr>
            <tr>
              <td> </td>
              <td><input type="submit" name="Submit" value="提交">
                  
                <input type="reset" name="Submit2" value="重置"></td>
            </tr>
          </form>
        </table></td>
      </tr>
    </table>
    <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
      <TBODY>
        <TR>
          <TD width=17><IMG 
                  height=26 src="img/bjk_t1.gif" width=17></TD>
          <TD width=105 
                background=img/bjk_bg.gif class=STYLE4><div align="center" class="STYLE5">诚信会员专区</div></TD>
          <TD width=17><IMG height=26 
                  src="img/bjk_t2.gif" width=17></TD>
          <TD width="413" background=img/bjk_bg2.gif> </TD>
          <TD width=60 background=img/bjk_bg2.gif><a href="showimgnews.asp" target="_blank"><IMG 
                  height=18 src="img/more.gif" width=52 
                  border=0></a></TD>
        </TR>
      </TBODY>
    </TABLE>
    <table width="100%" height="111" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #cccccc">
      
    </table></td>
  </tr>
</table>
<TABLE width=777 border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
  <TBODY>
    <TR>
      <TD width="777" height=60 bgColor=#FFFFFF><IFRAME name=LOGIN marginWidth=0  
      marginHeight=0 src="/indeximg/bottom.htm" frameBorder=0 noResize width=770
      scrolling=no height=80></IFRAME></TD>
    </TR>
  </TBODY>
</TABLE>
</body></P>
<P></html>
</P>
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template