<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ron W.
<HR>
</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=hakan@backbase.com href="mailto:hakan@backbase.com">Hakan M
(Backbase)</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 14, 2005 12:07
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] onreset
functionality in MS/IE</DIV>
<DIV><BR></DIV>I've always thought of O'Reilly as a very reliable source of
<BR>information, so I'm wondering if this is the only JavaScript that your
<BR>are executing.<BR><BR>The following example works in IE6 for me:<BR><A
href="http://www.idocs.com/tags/forms/_FORM_onReset.html">http://www.idocs.com/tags/forms/_FORM_onReset.html</A><BR><BR>Is
the thing you're working on accessible for the people on this list? <BR>If I
could see the whole page I might be able to help you out
more.<BR><BR>Regards,<BR>H<BR><BR>Ron Wingfield wrote:<BR>> The following
code is lifted straight out of David Flanagan's book, <BR>> /JavaScript,_
the Definitive Guide_/, p.251, O'Reilly and Associates, 2002. <BR>>
<BR>> <BR>> <form. .
.<BR>>
onreset="return confirm('Really erase ALL data and start
over?')"<BR>> ><BR>> <BR>>
<BR>> This is the actual code from the "/show source/" editor:
(. . .looks <BR>> OK to me.)<BR>> <BR>>
<BR>>
<form<BR>>
method="get"<BR>>
action="applications_01.pl"<BR>>
enctype="application/x-www-form-urlencoded"<BR>>
onreset="return confirm('Really erase ALL data and start
over?')"<BR>>
name="vendors_01.pl"><BR>> <BR>> <BR>> MS/IE v6.0.2800.1106
(running under Windows-98) returns the following error:<BR>> <BR>>
<BR>> Error: Object doesn't support this
property or method.<BR>> <BR>> <BR>> So, . . .is this a browser
problem?<BR>> <BR>> OTTF,<BR>> Ron Wingfield<BR>>
<BR>> FreeBSD 4.8 -- Apache http 2.0.28 -- MySQL client/server
4.1.7<BR>> Perl 5.8.5 -- p5-DBD-mysql-2.9004 driver -- p5-DBI-1.46<BR>>
<BR>> <BR>>
------------------------------------------------------------------------<BR>>
<BR>> _______________________________________________<BR>> Javascript
mailing list<BR>> <A
href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A><BR>> <A
href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A><BR>_______________________________________________<BR>Javascript
mailing list<BR><A
href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A><BR><A
href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A><BR></BLOCKQUOTE></BODY></HTML>