J
jimt
I have a drop down list containing a year (e.g 2005, 2004, 2003...) on an ASP
page and the value is one of (6 fields) that make up a key to a table in my
DB (the other key field values are already populated and the year field is
initially set to the first vaule in the drop down list). I would like to
assign a variable name to the <option...> value and automatically hide the
year value (the other key values controlled and hidden on a form on the page)
to refresh the data on the page base on the year.
Q1: How do you set the drop down value to a variable name?
Q2: Is there a way to automically (event, "on-mouse"?) refresh the page
(data on the page) if the user selects a different year value in the drop
down box (i.e. VBA terms "on-change")?
Thanks
Jim T
page and the value is one of (6 fields) that make up a key to a table in my
DB (the other key field values are already populated and the year field is
initially set to the first vaule in the drop down list). I would like to
assign a variable name to the <option...> value and automatically hide the
year value (the other key values controlled and hidden on a form on the page)
to refresh the data on the page base on the year.
Q1: How do you set the drop down value to a variable name?
Q2: Is there a way to automically (event, "on-mouse"?) refresh the page
(data on the page) if the user selects a different year value in the drop
down box (i.e. VBA terms "on-change")?
Thanks
Jim T