日期:2014-05-18  浏览次数:20611 次

時間頁面的處理,急!!!!!
我寫了一個頁面:如下:
  <body>
      <table   border=1>
      <tr>
      <td> <input   type= "text "   name= "startime "   value=> </td>
      <td> <a   href= "javascript:openwin() "> <img   src= "images/date_picker.gif "> </a> </td>
      <td> ~ </td>
      <td> <input   type= "text "   name= "startime "   value= " <%=request.getAttribute( "meg ")%> "> </td>
      <td> <a   href= "javascript:openwin() "> <img   src= "images/date_picker.gif "> </a> </td>
      </tr>
      </table>
    </body>
當我單擊這個頁面(父頁面)鏈接時會出現一個頁面(子頁面),我想讓子頁面中的生成的數據為父頁面的文件框中的值然後子頁面自動關閉!
婁似於一個選擇日期自動填充的形式!
謝謝!

------解决方案--------------------
使用

opener.document.formName.inputName.value