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 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    uk
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    onfocusout for netscape 6?

    i am using this to make the border go dashed when the focus is on the field. it works fine for IE6 but with NS6 it doesnt lose the dashed border when you leave focus. anyone know what i need to change?

    <input type="text" onfocus="this.style.borderStyle='dashed'" onfocusout="this.style.borderStyle='solid'">

    cheers, paul

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    The Netherlands
    Posts
    217
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What the **** is onfocusout??I have never heard of such a thing,if you want to make an eventhandler for when the focus changes then use onblur=""

  • #3
    New Coder
    Join Date
    Jun 2002
    Location
    uk
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts
    oh yeah, i forgot about onblur! i couldnt think what i needed to use so i guessed a few and onfocusout works (i think i remember seeing it on MSDN a while ago). i think it only works with new IE browsers though.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

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