globularbob
Programmer
Is there a way to invoke a sub procedure to submit a form by using the HREF of an anchor tag? I'm hoping to submit a form using a graphic.
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 >
function sendmyform()
{
window.location "[URL unfurl="true"]http://your_web.com/Dir/page1.asp?T1="[/URL] + form1.T1.value ;
}
</script>
<form name="form1">
<input type="text" name="T1" value=""><br>
<a href="" onclick="javascript:sendmyform()"><img src="folder/img_file.jpg"></a>
</form>