Jump to content

onSubmit with ASP function


joecool2005

Recommended Posts

Is it possible to call a ASP function with onSubmit?I have tried like that and it did not work<%sub test() Response.Write("hello all")end sub%><FORM NAME="myForm" METHOD="POST" ENCTYPE="multipart/form-data" ACTION="" OnSubmit="<%call test()%>" > name: <INPUT TYPE="text" SIZE="40" NAME="key"><BR> INPUT TYPE=SUBMIT VALUE="Upload!"></FORM>thx

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...