Niels: Thanks for the email. You are right. It does work (embarrassed grin). It is code further down in the JavaScript that is having the issues and not my call. For some reason I thought I got a different error message in JavaScript and ASP than what I did. Thanks Andy
_____ From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 8:44 AM To: [email protected] Subject: RE: [ASP] Object Expected - JavaScript in ASP Page It works fine here, as soon as i leave the textbox the function fires... > -----Oorspronkelijk bericht----- > Van: [email protected] [mailto:active-server- > [EMAIL PROTECTED] Namens Mills, Andy R. (Regency) > Verzonden: Tuesday, May 17, 2005 2:37 PM > Aan: '[email protected]' > Onderwerp: [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> <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 <http://groups.yahoo.com/group/active-server-pages> > --------------------------------------------------------------------- > Post : [email protected] > Subscribe : [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > --------------------------------------------------------------------- > Yahoo! Groups Links > > > > --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages <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/ <http://groups.yahoo.com/group/active-server-pages/> * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [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 <*> 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/
