Print Page | Close Window

form submit

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=8065
Printed Date: 01 April 2026 at 1:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: form submit
Posted By: webrunner
Subject: form submit
Date Posted: 13 December 2003 at 6:43pm

Hi there,

I got a problem on using form submit method. In my code, i defined a "button" type input, and intended to submit the form using submit method, but it always failed. anyone can help me?

my code like this

<form name = "myform" method ="post" action = "actionfile.asp">

<input type = "button" name = "submit" value = "submit" onclick = "javascript: document.myform.submit()"> 

</form>

If I changed the input type to "submit", it worked fine. so I am pretty sure the submit method didn't work properly. How to correct it?

Thanks




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net