This one is erroneous:
Code:
alert(\'Only select high prority if this is currently stopping you from working\');
You should remove highlighted.
If your intention is to alert the message with quotes on it, then you should add highlighted:
Code:
alert('\'Only select high prority if this is currently stopping you from working\'');
Alternatively, you might find another way to skin a cat:
Code:
<script type="text/javascript">
function popup (el)
{
if(el.value.toLowerCase()=='high')
alert('\'Only select high prority if this is currently stopping you from working\'');
}
</script>
<select name="level" onchange="popup(this)">
<option value="low">Low</option>
<option value="medium">Medium</option>
<option value="high">High</option>
</select>
Hope that helps.