Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The onselect event for combo boxes activates when a selection is made from the combo choices.  The event should be specified as a JavaScript expression.  The expression may use the following two special variables:

  • value - the value selected by the user
  • text - the choice text of the option selected by the user
  • object - reference to the DOM container object for the combo box

...

Code Block
javascript
javascript

function processSelection(value) {
  alert("You selected this value: " + value);
}

...