You're calling the function and assigning the result to the onsubmit
field. What you want to do is assign the function itself to the
onsubmit field.
cheers,
barneyb
On Fri, 27 Aug 2004 17:35:07 -0400, DURETTE, STEVEN J (AIT)
<[EMAIL PROTECTED]> wrote:
> Ok,
>
> I tried:
>
> <script language="_javascript_1.2" type="test/_javascript_" defer="onload">
> function myFunc() {
> alert("test");
> return(false);
> }
>
> document.getElementById("#attributes.formname#").> > </script>
>
> When the page loads, the test alert box pops up, but when I do an alert on
> #attributes.formname# it gives the original information all over again as if
> nothing changed.
>
> Steve
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

