Blurring a button in a form

I have a simple Javascript problem that i can’t sort out.

How can i take the focus away from a button when a form is activated.

I have tried:

<input type=“submit” name=“mybutton” onfocus=“document.myform.mybutton.blur()”;>

and also

<input type=“submit” onfocus=“this.blur()”;>

but neither work. Any ideas?

this would really help me out.

Subject: blurring a button in a form

I think blur() is only available on the Window object, not on elements within document. Could you use focus() instead to send focus to a specific element, other than the button?

Subject: blurring a button in a form

What about a hide when scenario?