Results 1 to 4 of 4

Thread: invisible focus

  1. #1
    Join Date
    Nov 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default invisible focus

    Hi,

    I don't know why the focus is invisible when I press tab to go to the next field. The focus will appear when you press any key. How can I fix it?

    ---------------------------------------------------------------------------------------
    <script type="text/javascript">
    function setStyle(x)
    {
    document.getElementById(x).value="hello"
    document.getElementById(x).focus()
    }
    </script>

    <input type="text" value="Joe" onfocus="setStyle(this.id)" id="fname">
    <br />
    <input type="text" value="Cool" onfocus="setStyle(this.id)" id="lname">
    ---------------------------------------------------------------------------------------
    thx
    Joe

  2. #2
    Join Date
    Jun 2006
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ive put it up and it works fine maybe be more clear on what the problem is.
    kelly-

  3. #3
    Join Date
    Nov 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    On Internet Explorer when you do the tab, you will not see the cursor blinking. You have to press any to see the cursor.

    Joe

  4. #4
    Join Date
    Jun 2006
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

Bookmarks

Posting Permissions

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