Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q1311 How do I get Netscape to "alert" the selected item in a listbox when the user double clicks the item?

You are here: irt.org | FAQ | JavaScript | Form | Q1311 [ previous next ]

*If* it works then it should work as follows:

<select size="3" ondblclick="alert(this.options[this.selectedIndex].value)">
<option value="zero">#0
<option value="one">#1
<option value="two">#2

It doesn't work on Linux or Mac for Netscape Navigator 4.

©2018 Martin Webb