[Javascript] onreset functionality in MS/IE
Hakan M (Backbase)
hakan at backbase.com
Fri Jan 14 12:07:12 CST 2005
I've always thought of O'Reilly as a very reliable source of
information, so I'm wondering if this is the only JavaScript that your
are executing.
The following example works in IE6 for me:
http://www.idocs.com/tags/forms/_FORM_onReset.html
Is the thing you're working on accessible for the people on this list?
If I could see the whole page I might be able to help you out more.
Regards,
H
Ron Wingfield wrote:
> The following code is lifted straight out of David Flanagan's book,
> /JavaScript,_ the Definitive Guide_/, p.251, O'Reilly and Associates, 2002.
>
>
> <form. . .
> onreset="return confirm('Really erase ALL data and start over?')"
> >
>
>
> This is the actual code from the "/show source/" editor: (. . .looks
> OK to me.)
>
>
> <form
> method="get"
> action="applications_01.pl"
> enctype="application/x-www-form-urlencoded"
> onreset="return confirm('Really erase ALL data and start over?')"
> name="vendors_01.pl">
>
>
> MS/IE v6.0.2800.1106 (running under Windows-98) returns the following error:
>
>
> Error: Object doesn't support this property or method.
>
>
> So, . . .is this a browser problem?
>
> OTTF,
> Ron Wingfield
>
> FreeBSD 4.8 -- Apache http 2.0.28 -- MySQL client/server 4.1.7
> Perl 5.8.5 -- p5-DBD-mysql-2.9004 driver -- p5-DBI-1.46
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list