the "property" attribute is required;

so, 

<html:button property="foo" onclick="javascrip:submitForm( 'reset' )"
value="   Click Me   "/>

should work.

Jay.

-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 1:17 PM
To: [EMAIL PROTECTED]
Subject: RE: html:button and onclick - doesn't work


The problem I'm having is that I get a "missing id/attribute" error from my
app
server - I can't even get the page to render to test my javascript!

Might be an iPlanet bug though...

--- Jay Patel <[EMAIL PROTECTED]> wrote:
> You need: onclick="javaScript:sub..."
> 
> Jay.
> 
> 
> 
> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: html:button and onclick - doesn't work
> 
> 
> Does anyone know why this works:
> 
> <html:submit styleClass="inputButtonNormal" onclick="submitForm('Reset')">
>      Click me
> </html:submit>
> 
> BUT this doesn't?
> 
> <html:button styleClass="inputButtonNormal" onclick="submitForm('Reset')">
>      Click me
> </html:button>
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to