可可果

哈利是一只有白点的黑狗

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
<script   language="javascript">                                   
  function   add()                                   
  {   
        option   
=   new   Array();   
        proportion   
=   new   Array();                           
        str
='<table>';   
        str
=str+'<tr   align=center   valign=middle   bgcolor=#FFFFFF>';   
        str
=str+'<td   width="100%"   height="25"><input   type="text"   name=proportion></td>';   
        str
=str+'<td   width="100%"   height="25"><input   type="button"   name=del   onclick=""   value="删除"></td>';   
        str
=str+'</tr></table>';   
        window.upid.innerHTML
+=str+'';   
  }                                   
  
</script>   
  
<html>   
  
<head>   
  
<title>Untitled   Document</title>   
  
<meta   http-equiv="Content-Type"   content="text/html;   charset=gb2312">   
  
</head>     
  
<body>       
  
<form   name="myform"   onsubmit="javascript:return   check()">       
        
<table>       
                
<tr>           
                        
<td>     
                                
<input   name="Submit2"   type="button"   onclick="javascript:add()"   value="增加">       
                        
</td>           
                
</tr>           
                
<tr>               
                        
<td>           
                        
<div   id="upid"></div>       
                        
</td>           
                
</tr>     
        
</table>                                   
  
</form>                                   
  
</body>                                   
  
</html>  
posted on 2007-10-17 16:50  可可果  阅读(4565)  评论(2编辑  收藏  举报