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.
<SCRIPT LANGUAGE="JavaScript">
function SubmitForm(which) {
if ( which == 1 ) {
document.myform.action = "[URL unfurl="true"]http://www.where.com/cgi-bin/pgm1.cgi";[/URL]
} else if ( which == 2 ) {
document.myform.action = "[URL unfurl="true"]http://www.where.com/cgi-bin/pgm2.cgi";[/URL]
} else if ( which == 3 ) {
document.myform.action = "[URL unfurl="true"]http://www.where.com/cgi-bin/pgm3.cgi";[/URL]
}
return true;
}
</SCRIPT>
[code]
And here's an example of three different buttons to submit to three different places:
[code]
<input type="submit" name="sub1" value="sub1" onClick="SubmitForm(1)"><br>
<input type="submit" name="sub2" value="sub2" onClick="SubmitForm(2)"><br>
<input type="submit" name="sub3" value="sub3" onClick="SubmitForm(3)"><br>