[thelist] Brain fart html w/asp (revisited)

Rob Smith rob.smith at thermon.com
Fri Apr 26 11:10:01 CDT 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]

Hi

This about calling ASP 2.0 functions from html forms...again.

Here's what I have

<%@LANGUAGE="VBSCRIPT"%>
<%
sub saveArticle()
	dim stuff, stuff_1, stuff_2
	'rest is commented out
end sub
%>

...

<form>
   <input type="button" name="Save" value="Save and Exit"
onClick="saveArticle()">
</form

When I try to click on the button in the web browser, IE5(? matters not)
throws an error:
"Object expected"

What could possibly be wrong with this? missing anything?

Thanks in advance,

Rob



More information about the thelist mailing list