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.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title></title>
<script type="text/javascript">
function plus()
{
var sel=document.getElementById('sel')
var add=document.getElementById('add')
sel.options[sel.options.length]=new Option(add.value)
sel.selectedIndex=sel.options.length-1
}
</script>
<body>
<form action="">
<p>
<select name="sel" id="sel">
<option>One</option>
<option>Two</option>
</select>
<input type="text" name="add" id="add" value="">
<input type="button" value="+" onclick="plus()">
</p>
</form>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title></title>
<style type="text/css">
select#sel,input#add {
width: 100px;
}
input#add {
position: absolute;
visibility: hidden;
}
</style>
<script type="text/javascript">
function plus()
{
var sel=document.getElementById('sel')
var add=document.getElementById('add')
var ch=sel.style.visibility=='hidden'
sel.style.visibility=ch?'visible':'hidden'
add.style.visibility=ch?'hidden':'visible'
if (ch) {
sel.options[sel.options.length]=new Option(add.value)
add.value=''
sel.selectedIndex=sel.options.length-1
}
}
</script>
<body>
<form action="">
<p>
<input type="text" name="add" id="add" value="">
<select name="sel" id="sel">
<option>One</option>
<option>Two</option>
</select>
<input type="button" value="+" onclick="plus()">
</p>
</form>
</body>
</html>