Hi,
I need to populate a js array so I can use the results when running the "onchange" of an HTML form's "select" clause.
Is there a way of doing this?
Basically, I have a Select tag on a web page. It is populated with options. When the user selects an item from the dropdown list I need to fill in (via javascript onchange i suppose) an Input field on the page. The value I need to drop into this field comes from a mysql db.
The only solution I can think of is to populate a js array before the user selects his choice (don't know how do to this in realtime).
I'm at a loss and don't know how to proceed.
Please help!