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 5 of 5
  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help: Remove listbox highlight

    Hi,
    Does anyone know how to remove the highlight (of the selected text) from the listbox using javascript?
    TIA

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    highlight is good. It tells me which item is selected.
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

  • #3
    New Coder
    Join Date
    Dec 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes. For my case, I control the data of the listbox with a drop down menu. After onchange of the drop down menu, the previously highlight is still there and I would like to remove it, ie. clear form.

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Nashua, NH
    Posts
    1,724
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hmmm.... URL?
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

  • #5
    Regular Coder
    Join Date
    Mar 2006
    Posts
    725
    Thanks
    35
    Thanked 132 Times in 123 Posts
    call focus() for any other element, or reset the form


  •  

    Posting Permissions

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