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

Pass variables between two tables_JavaScript

May 16, 2016 pm 07:29 PM

 
<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

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Replace String Characters in JavaScript Replace String Characters in JavaScript Mar 11, 2025 am 12:07 AM

Detailed explanation of JavaScript string replacement method and FAQ This article will explore two ways to replace string characters in JavaScript: internal JavaScript code and internal HTML for web pages. Replace string inside JavaScript code The most direct way is to use the replace() method: str = str.replace("find","replace"); This method replaces only the first match. To replace all matches, use a regular expression and add the global flag g: str = str.replace(/fi

Custom Google Search API Setup Tutorial Custom Google Search API Setup Tutorial Mar 04, 2025 am 01:06 AM

This tutorial shows you how to integrate a custom Google Search API into your blog or website, offering a more refined search experience than standard WordPress theme search functions. It's surprisingly easy! You'll be able to restrict searches to y

Build Your Own AJAX Web Applications Build Your Own AJAX Web Applications Mar 09, 2025 am 12:11 AM

So here you are, ready to learn all about this thing called AJAX. But, what exactly is it? The term AJAX refers to a loose grouping of technologies that are used to create dynamic, interactive web content. The term AJAX, originally coined by Jesse J

Example Colors JSON File Example Colors JSON File Mar 03, 2025 am 12:35 AM

This article series was rewritten in mid 2017 with up-to-date information and fresh examples. In this JSON example, we will look at how we can store simple values in a file using JSON format. Using the key-value pair notation, we can store any kind

8 Stunning jQuery Page Layout Plugins 8 Stunning jQuery Page Layout Plugins Mar 06, 2025 am 12:48 AM

Leverage jQuery for Effortless Web Page Layouts: 8 Essential Plugins jQuery simplifies web page layout significantly. This article highlights eight powerful jQuery plugins that streamline the process, particularly useful for manual website creation

What is 'this' in JavaScript? What is 'this' in JavaScript? Mar 04, 2025 am 01:15 AM

Core points This in JavaScript usually refers to an object that "owns" the method, but it depends on how the function is called. When there is no current object, this refers to the global object. In a web browser, it is represented by window. When calling a function, this maintains the global object; but when calling an object constructor or any of its methods, this refers to an instance of the object. You can change the context of this using methods such as call(), apply(), and bind(). These methods call the function using the given this value and parameters. JavaScript is an excellent programming language. A few years ago, this sentence was

Improve Your jQuery Knowledge with the Source Viewer Improve Your jQuery Knowledge with the Source Viewer Mar 05, 2025 am 12:54 AM

jQuery is a great JavaScript framework. However, as with any library, sometimes it’s necessary to get under the hood to discover what’s going on. Perhaps it’s because you’re tracing a bug or are just curious about how jQuery achieves a particular UI

10 Mobile Cheat Sheets for Mobile Development 10 Mobile Cheat Sheets for Mobile Development Mar 05, 2025 am 12:43 AM

This post compiles helpful cheat sheets, reference guides, quick recipes, and code snippets for Android, Blackberry, and iPhone app development. No developer should be without them! Touch Gesture Reference Guide (PDF) A valuable resource for desig

See all articles