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.
<form name="f1">
<input type="text" name="t" />
<a href="#" onclick="window.open('[URL unfurl="true"]http://www.page.com/page.html');[/URL] return false;">Click To Fill Text Box</a>
</form>
<script language="javascript"><!--
function doCalc() {
var theVal = 3 + 2;
opener.forms['f1'].elements['t'].value = theVal;
window.close();
}
--></script>
<a href="#" onclick="doCalc(); return false;">Click Me</a>
opener[red].document[/red].forms['f1'].elements['t'].value = theVal;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
<html>
<head>
<title>Untitled</title>
</head>
<body>
<form name="f1">
<input type="text" name="t" />
<a href="#" onclick="window.open('new2.html'); return false;">Click To Fill Text Box</a>
</form>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
<html>
<head>
<title>Untitled</title>
<script language="javascript"><!--
function doCalc() {
var theVal = 3 + 2;
opener.document.forms['f1'].elements['t'].value = theVal;
window.close();
}
--></script>
</head>
<body>
<a href="#" onclick="doCalc(); return false;">Click Me</a>
</body>
</html>