Jump to content

javascript SUBMIT() function question


kpetsche20

Recommended Posts

I believe so, you can test it.

 

<form action="page.php" method="post" id="form">
<input type="text" name="name" id="name" />
</form>

<br />

<img src="image.jpg" onclick="javascript: document.getElementById('form').submit()" />

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.