OK, the default type for a button tag is 'submit' (except in IE), so by 
misspelling the type, the browser was treating it as a submit button (I 
guess it would have been OK in IE, which defaults to type='button' rather 
than type='submit').

Anthony

On Friday, September 9, 2011 10:32:53 AM UTC-4, DenesL wrote:
>
>
> Found it! 
> Typo in the original code (and missing in the example): 
> BUTTON('Select all', _type='buttom', _ONMOUSEUP = mouseup()) 
>
> should be: 
> BUTTON('Select all', _type='button', _ONMOUSEUP = mouseup()) 
>
> Sorry for the noise.

Reply via email to