<html> <head> <title>選擇日期</title> </head> <body topmargin="0" leftmargin="0" scroll="no" bgcolor="#c0c0c0"> <table border="0" cellpadding="0" cellspacing="0" width="22"> <tr> <td> <OBJECT data=calendar2.htm id=cal style="HEIGHT: 160px; LEFT: 0px; TOP: 0px; WIDTH: 200px" type=text/x-scriptlet width="14" height="14"></OBJECT> </td> </tr> <tr> <td><input type="button" value="確定" name="cmdClose" style="WIDTH:200px" ONCLICK="window.close();"></td> </tr> </table> <p> <script LANGUAGE="JavaScript" FOR="cal" EVENT="onscriptletevent(name,eventdata)"> dateChange(eventdata); </script> <script language="JavaScript"> <!-- window.onload = initWindow; function initWindow() { window.returnValue = window.dialogArguments; cal.setDate(window.dialogArguments); } function dateChange(sValue) { window.returnValue = sValue; window.close(); } // --> </script></p> </body> </html>
歡迎光臨 jsGears.com 技術論壇 - AJAX, JavaScript, jQuery, 網站開發, 前端效能優化 (http://www.jsgears.com/) |