The following example code can be put in the onselectionchange event of a list box. When the value is changed a alert should show the currently selected text value. The underlying value is actually a numeric value that will be stored in the database.
|