kpetsche20 Posted October 4, 2008 Share Posted October 4, 2008 Is it possible to use the javascript SUBMIT() function and make it submit a form outside the form tags? Link to comment https://forums.phpfreaks.com/topic/126985-javascript-submit-function-question/ Share on other sites More sharing options...
JasonLewis Posted October 4, 2008 Share Posted October 4, 2008 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()" /> Link to comment https://forums.phpfreaks.com/topic/126985-javascript-submit-function-question/#findComment-656867 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.