Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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...)

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    Try <input type="submit" onfocus="this.blur();">

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •