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>
<title>new document</title>
<script language="javascript" type="text/javascript">
<!--
function restrict( obj ) {
obj.value = obj.value.substr( 0 , 2 );
}
-->
</script>
</head>
<body>
<form name="f">
<input type="text" name="twochars" onkeyup="restrict(this);" />
</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>
<title>new document</title>
<script language="javascript" type="text/javascript">
<!--
function restrict( obj ) {
obj.value = obj.value.substr( 0 , 2 );
alert("The box can have no more than two characters.");
}
-->
</script>
</head>
<body>
<form name="f">
<input type="text" name="twochars" onkeyup="restrict(this);" />
</form>
</body>
</html>