Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<style type="text/css">
optgroup {
text-decoration: none;
font-weight: normal;
color: gray;
}
</style>
<select name="s">
<optgroup label="fun stuff">
<option>value 1</option>
<option>value 2</option>
</optgroup>
<optgroup label="more fun stuff">
<option>value 3</option>
<option>value 4</option>
</optgroup>
</select>
<style type="text/css">
option {
color: black;
}
</style>
<option disabled>1</option>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<title>new document</title>
<script language="javascript" type="text/javascript">
<!--
var prev_si = '';
function DoConfirm() {
if (confirm('This order\'s status will be changed.'))
return true;
else
document.forms['the_form'].elements['status1'].selectedIndex = prev_si;
return false;
}
-->
</script>
</head>
<body>
<form name="the_form">
<select name="status1"
onclick='prev_si = this.selectedIndex;'
onchange="DoConfirm();">
<option value="1">Pending</option>
<option value="2" SELECTED>Processing</option>
<option value="3">Delivered</option>
</select>
</form>
</body>
</html>
var s = document.empInfo.vac_grp;
var pollCard = s.options[s.selectedIndex].value;
if (pollCard == 'ActivePollingCard') {
alert("This user currently has an Active Polling Card. The user cannot be moved into another group until the user is done.");
s.selectedIndex = prev_si;
}