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.
<head>
<script language=javascipt>
function showHide(objList){
var text1 = document.myForm.txt1;
var text2 = document.myForm.txt2;
if(objList.options[objList.selectedIndex].value == "0"){
text1.style.display = "none";
text2.style.display = "block";
}
else{
text1.style.display = "block";
text2.style.display = "none";
}
}
</script>
</head>
<body>
<form name="myForm" method="post" action="sompage.asp">
<select name="myList" onchange="javascript:showHide(this)">
<option value="0">Option 1</option>
<option value="1">Option 2</option>
</select>
<input type=text name="txt1">
<input type=text name="txt2">
</form>
</body>