Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BloodRedSkyTonight

    Retrieve select box text and value

    So, for your code (reshown below): You may be able to concatenate right from the 'get-go' like so: <SELECT tabindex = "1" style="WIDTH: 175px" name="selSurveyOne" onchange=addComment("commentOne",this.options[this.selectedIndex].value & " - " & this.options[this.selectedIndex].text)> I...
  2. BloodRedSkyTonight

    Retrieve select box text and value

    I wasn't very happy with other replies to this question because I don't think the request was well enough comprehended, so I did my own checking on methods usable for the <select> form element. Turns out you can use options(selectedindex).text method in your script to acquire the value of the...

Part and Inventory Search

Back
Top