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.
onload="start()"
onChange="start()"
var v=document.SendMe.DropIt[document.SendMe.DropIt.selectedIndex].value;
var v=document.SendMe.DropIt.value;
<body onload="start()">
<p>A drop down Deductible Menu</p>
<form method="POST" name="SendMe" >
<p>Deductible<select name="DropIt" size="1" onChange="start()" >
<option value="250"> $250 </option>
<option value="1000" selected> $1000</option>
<option value="1500"> $1500 </option>
<option value="2000"> $2000 </option>
</select> </p>
<p></p>
<p><div id="Coverage"></div></p>
<script language="JavaScript">
[COLOR=orange]function start() {
var v=document.SendMe.DropIt.value;[/color]
if (v==1000) { output1="<a href='[URL unfurl="true"]http://www.yahoo.com'>";[/URL]
output1 +="Coverage";
output1 +="</a>"
document.getElementById("Coverage").innerHTML=output1;
document.getElementById("Coverage").href="[URL unfurl="true"]http://www.yahoo.com";[/URL]
}
if (v==250) { output1="<a href='[URL unfurl="true"]http://www.google.com'>";[/URL]
output1 +="Coverage";
output1 +="</a>"
document.getElementById("Coverage").innerHTML=output1;
document.getElementById("Coverage").href="[URL unfurl="true"]http://www.google.com";[/URL]
}
[COLOR=orange] }[/color]
</script>
<html>
<script>
function start(TheValue)
{
document.getElementById("TheLink").href=TheValue
document.getElementById("TheLink").innerText=TheValue
}
</script>
<form method="POST" name="SendMe" >
<p>Deductible<select name="DropIt" size="1" onChange="start(this.value)" >
<option value="250"> $250 </option>
<option value="1000" selected> $1000</option>
<option value="1500"> $1500 </option>
<option value="2000"> $2000 </option>
</select> </p>
<br>
<a href="#" id='TheLink'></a>
</form>
</html>