Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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

Example:

onselect: processSelection(value);

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