Posted by Guillaume on 12/08/05 14:51
Neil:
> I'm not real clear on how to apply this and syntax.
> Would the "blaat.php" be my submit to destination on the server?
> This is the OnSubmit line from my form(close_window() added):
> <form onsubmit="return validate()" "close_window()" name="smsform"
> id="smsform"
> action="http://sms.relay.com/send/sms" method="GET">
>
> It didn't close the window when tested. Do I need a separator between
> onsubmit items, or two onSubmits?
> Is close_window() a function I must create?
> Do I need a <script type="text/javascript"> before your example, and
> </script> after?
I use to put the javascript code in the targeted page, not in the form.
If this is an option...
<script language="javascript"><!--//
window.close();
//--></script>
--
Advertize your site
http://www.milliondollarscreenshot.com/
Navigation:
[Reply to this message]
|