Login | |
|
 |
RE: Setting Value From DB - 4/14/2007 6:43:23 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
so you want the db content enumerated in the <option> lists?
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Setting Value From DB - 4/14/2007 8:30:36 PM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
confirm if this is the direction you want (taking the checkbox example) If dbValueYesNo = "yes" Then document.getElementByID("optCheckBoxYES").checked = true document.getElementByID("optCheckBoxNO").checked = false Else document.getElementByID("optCheckBoxYES").checked = false document.getElementByID("optCheckBoxNO").checked = true End If (same applies for the option list, only that takes different attributes...)
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
|
|