Thanks Brian, 

"the only stupid question, is the one you ask without knowing the api"



-----Original Message-----
From: Brian Lee [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 13, 2003 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: using javascript

I think the problem here is that there is a built-in javascript reset() 
method that's overriding your custom reset().

Try calling your method doReset() or something else.

BAL

>From: "LUCERO,DENNIS (HP-Boise,ex1)" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "' ([EMAIL PROTECTED])'" <[EMAIL PROTECTED]>
>Subject: using javascript
>Date: Mon, 13 Jan 2003 12:58:24 -0500
>
>
>Hello, I am trying to call a java script function and it is not working, 
>are
>there any known issues with this sort of thing.
>
>
>Here is some code:
>
><html:form action = "SomeAction">
><html:select property = "someProp" onchange = "reset()">
><html:options
>         collection="aCollection"
>         property="key"
>         labelProperty="value"
>          />
></html:select>
>
><more selections:
><close the form:
>
><script language="JavaScript">
>function reset()
>{
>   alert("woo woo");
>}
></script>
>
>
>
>
>We come from the land of the ice and snow
>With the midnight sun, where the hot springs glow
>The hammer of the gods, will drive our ships to new lands
>Fight the horde, Sing and cry
>Valhalla I am coming
>


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to