Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-26-2002, 06:10 AM   PM User | #1
PauletteB
Regular Coder

 
Join Date: Jun 2002
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
PauletteB is an unknown quantity at this point
Removing the focus on submit button

How would one go about removing the automatic focus on the submit button when a form is loaded? (in IE...)
PauletteB is offline   Reply With Quote
Old 07-26-2002, 07:07 AM   PM User | #2
Roelf
Senior Coder

 
Join Date: Jun 2002
Location: Zwolle, The Netherlands
Posts: 1,110
Thanks: 2
Thanked 28 Times in 28 Posts
Roelf is on a distinguished road
Try <input type="submit" onfocus="this.blur();">
Roelf is offline   Reply With Quote
Old 07-26-2002, 06:34 PM   PM User | #3
PauletteB
Regular Coder

 
Join Date: Jun 2002
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
PauletteB is an unknown quantity at this point
Roelf

I had tried various combos of onBlur to no avail. Short of assigning a styling attribute of a 0 border, the focus is always on even if an image is used as the background.
AH well...

Thanks for your reply nonetheless.

Paulette
PauletteB is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:31 PM.


Advertisement
Log in to turn off these ads.