[Javascript] onreset functionality in MS/IE

Hakan M (Backbase) hakan at backbase.com
Fri Jan 14 14:43:29 CST 2005


It's 21:41 here, and I'm off for the pub, so I won't be able to help you 
until monday. What I can say is that your problem is most likely not in 
the onreset event. :) But feel free to post a link to the problem if it 
persists til monday.

Regards,
H

Ron Wingfield wrote:
> Well, . . .I have added the same instruction to a much simpler 
> Perl/JavaScript pgm., and it works as advertised.  The program in which 
> it fails, has a lot going on in it.  I'll take a look at the code after 
> lunch, and if I cannot solve the problem, I may update the question.
>  
> Thanks,
> Ron W.
> ------------------------------------------------------------------------
> 
>     ----- Original Message -----
>     *From:* Hakan M (Backbase) <mailto:hakan at backbase.com>
>     *To:* [JavaScript List] <mailto:javascript at LaTech.edu>
>     *Sent:* Friday, January 14, 2005 12:07 PM
>     *Subject:* Re: [Javascript] onreset functionality in MS/IE
> 
>     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 <mailto:Javascript at LaTech.edu>
>      > https://lists.LaTech.edu/mailman/listinfo/javascript
>     _______________________________________________
>     Javascript mailing list
>     Javascript at LaTech.edu <mailto:Javascript at LaTech.edu>
>     https://lists.LaTech.edu/mailman/listinfo/javascript
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list