I would like to use the value attribute of a select tag to call a javascript that has two parameters. I cannot figure out how to set up the syntax of the select tag list of values to accomplish this. The select tag is populated using JSTL from an array created in a remote database call.
so what did you try ? paste some code... may be your javascript / jsp would help. Have you tried getting the 'select' value by the 'id' that you have assigned to the select element ?
Time is what we want the most, but what we use the worst. -- William Penn
Eric Pascarello wrote:The value is a single string. Set up some pattern that works with your data and use split to get the two parts. Call your function.
Eric
Thanks for the help.
Don't get me started about those stupid light bulbs.