ASPDEV
05-16-2005, 03:48 PM
I have a drop down list with the following values:
1) HONDA
2) TOYOTA
3) NISSAN
The above values are in the database:
The table looks like this:
CAR Value
HONDA YES
TOYOTA NO
NISSAN NO
I have 2 radio buttons "Yes" and "No"
I populate the drop down list from the database:
SELECT CAR FROM TABLE_CAR
So far so good....
Now when the user selects for example HONDA from the drop down list...I want to dynamically check its corresponding value
which would be "YES" from the database....and check the "YES" radio button...
IF the user selects TOYOTA then I want to check the "NO" radio button...
Not sure how to do this....
Could anyone please help me...
1) HONDA
2) TOYOTA
3) NISSAN
The above values are in the database:
The table looks like this:
CAR Value
HONDA YES
TOYOTA NO
NISSAN NO
I have 2 radio buttons "Yes" and "No"
I populate the drop down list from the database:
SELECT CAR FROM TABLE_CAR
So far so good....
Now when the user selects for example HONDA from the drop down list...I want to dynamically check its corresponding value
which would be "YES" from the database....and check the "YES" radio button...
IF the user selects TOYOTA then I want to check the "NO" radio button...
Not sure how to do this....
Could anyone please help me...