大家帮忙看看为什么我的代码运行不正常
我在网上看到这些代码,可以实现格式化数据,并在TABLE中实现提示功能,但为什么我运行不起来呢???
---------------------------
<form name= "mainForm " action= "execute.asp " target= "executeFrame " method= "post "> <input name= "exe " type= "hidden " value= " ">
<table onMouseOver= "mouse_over() " onDblClick= "mouse_DblClick() " oncontextmenu=mouse_right() width= "98% " border= "0 " cellpadding= "1 " cellspacing= "1 " id= "idTB " background= "images/main_top/images/bg1.gif " bgcolor= "#C1E0FF ">
<tr id= "tr1 " class= "tableHead " onselectstart= "return false " style= "top:expression(document.getElementById( 'divScroll ').scrollTop) ">
<td width= "2% " height= "22 " nowrap class= "bg3 "> NO. </td>
<td width= "2% " class= "bg3 "> <input type= "checkbox " name= "chkall " onClick= "CheckAll(this.form) " class=but1> </td>
<td width= "10% " nowrap class= "bg3 "> 姓名 </td>
<td width= "10% " nowrap class= "bg3 "> 出身日期 </td>
<td width= "10% " nowrap class= "bg3 "> 地点 </td>
<td width= "10% " nowrap class= "bg3 "> 性别 </td>
<td width= "10% " nowrap class= "bg3 "> 年龄 </td>
<td width= "30% " nowrap class= "bg3 "> 身高 </td>
<td width= "10% " nowrap class= "bg3 "> 体重 </td>
<td width= "10% " nowrap class= "bg3 "> 收入 </td>
</tr>
</table> </form>
<% response.Write( " <textarea style= 'display:none ' id= 'files_str_1 ' > ")
response.Write( "1|@62|@张三|@1987-6-6|@江苏|@男|@20|@180|@60|@1300$#2|@63|@李四|@1980-6-6|@江苏|@男|@27|@170|@80|@2300 ")
response.Write( " </textarea> ")
response.Write( " <script> addRow(document.all.files_str_1.value, ' "&request( "keyWord ")& " ', 'idTB ') </script> ")
files_str= " " %>
<script language= "javascript1.1 ">
function addRow(str,kw,idTB)
{
var arr=str.split( "$# ")
var table_str= " "//字符串
var span_overflow= " "
var tr_move= "onmouseover=\ "this.bgColor= '#F4F3F2 ';\ " onMouseOut=\ "this.bgColor= ' ';\ " style= 'cursor:default; ' "
for(var i=0;i <arr.length;i++)//
{
if(arr[i]!= " ")
{
var arr1=arr[i].split( "|@ ")
var td0_bg= " class=share "
var id=arr1[1]
td0= " <div id=div_ "+id+ " onclick= 'mouse_DblClick() ' align=right > "+arr1[0]+ ". </div> "
td1= " <input