Menu
Hi,
I have a dropdown box with a few options that can be selected. Is it possible to have a popup message when just a specific option is selected?
I.e. in the select list below, people can select low or medium without getting a warning, but if they select High, a popup warning appears?
<script>
function popup () {
if (this.level=2) {
alert(‘Only select high prority if this is currently stopping you from working’);
}
}
</script>
<select name=”level”>
<option value=”0″>Low</option>
<option value=”1″>Medium</option>
<option value=”2″ onClick=”popup()”>High</option>
</select>
Many thanks
Ben