« XUL Reference home
onselect
Type: script code
This event is sent to a tree when a row is selected, or whenever the selection changes. The user can select multiple rows by holding down Shift or Control and clicking on a row. The onselect event will be sent for each item added to or removed from the selection.
See the tree selection page on the tutorial for more information.