Hi everyone,

I know you can cancel a Firefox onclick event on a button by doing this

<input type='button' onclick = 'return Validate()' />

where Validate returns false.

However is is possible to cancel the event from within the Validate method without having to have the 'return' in the attribute i.e.

<input type='button' onclick = 'Validate()' />

I have messed around with event.stopPropogation and event.cancelBubble=true, event.returnValue=false and nothing works.

Can anyone help me - is this possible?