Try taking the code out of the HEAD area and inside the BODY
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Mills, Andy R.
(Regency)
Sent: 17 May 2005 1:37
To: '[email protected]'
Subject: [ASP] Object Expected - JavaScript in ASP Page
Hello Guys:
I am about at wits end. This should be very basic, but for some reason: I
cannot figure out my mistake.
I have a the following code: input name="Kits" type="text" id="Kits"
size="5" OnChange="updateTotals()"
And my JavaScript is defined in the HEAD as:
script language="JavaScript">
function updateTotals()
{
.....
}
When I change the value of the textbox, I Get a JavaScript error of "Object
Expected." I have tried a variety of things, but to no avail.
Any help would be appreciated.
Thanks
Andy Mills
Programmer
Regency Thermographers
717-765-3572
<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
http://www.regencythermo.com <http://www.regencythermo.com/>
[Non-text portions of this message have been removed]
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
The contents of this email and any attachments are sent for the personal
attention
of the addressee(s) only and may be confidential. If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message. Any
representations or commitments expressed in this email are subject to contract.
ntl Group Limited
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/