问两个小问题
1.在IE5.5/FireFox1/NetScape6以上的版本中都大部分实现了DOM(文档对象模型),它使javascript能访问和控制文档,完成下面的gettext函数 
  <html>  
  <head>  
  <script   type= "text/javascript ">  
  <!-- 
 function   gettext(){ 
 //请在这儿得到文档中p对象内的字符串     
 } 
 //-->  
  </script>  
  </head>  
  <body   onload= "javascript:gettext() ">  
  <p> hello   world </p>  
  </body>  
  </html>  
    2在早期的浏览器中,经常使用各自独立的脚本技术,但幸动的是ECMAScript   v3的标准化了客户端脚本,在Jscript   5.5/javascript   1.5都符合ECMAScript   v3 
 请填写下面的deleteRow方法以正确的删除button所在的行,以使脚本能正确的运行于IE5.5/FireFox1/NetScape6以上版本浏览器中 
  <html>  
  <head>  
  <script   type= "text/javascript ">  
  <!-- 
 function   deleteRow(obj){ 
 //请在这儿填写代码     
 } 
 //-->  
  </head>  
  <body>  
  <table   id= "Tab ">  
  <tr>  <td> 1 </td>  <td>  <input   type= "button "   value= "删除 "   onclick= "deleteRow(this); "   >  </button>  </td>  </tr>  
  <tr>  <td> 2 </td>  <td>  <input   type= "button "   value= "删除 "   onclick= "deleteRow(this); ">  </button>  </td>  </tr>  
  <tr>  <td> 3 </td>  <td>  <input   type= "button "   value= "删除 "   onclick= "deleteRow(this); ">  </button>  </td>  </tr>  
  </table>  
  </body>  
  </html>  
------解决方案--------------------1.用document.getElementById( "p1 ").innerText 
  <p id= "p1 "> hello world </p>  
------解决方案--------------------填空题~   
 innerText在FireFox中不支持   
 1.alert(document.getElementById( "p1 ").innerHTML); 
  <p id= "p1 "> hello world </p>