Do you need a semi colon after recalc()?

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Bob Cozzi
Sent: Friday, May 05, 2006 10:18 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] What's wrong with this picture?

Update:
If I remove the parens from onChange="reCalc()" I get "Object reCalc"
not
defined.
But it is, and its in there. Gosh I hate when this happens!

-Bob Cozzi
www.RPGxTools.com
RPG xTools - Enjoy programming again.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf
Of Bob Cozzi
Sent: Friday, May 05, 2006 10:02 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: [WEB400] What's wrong with this picture?

I recently wanted to update a web page that had an HTML FORM in it. 

I switched the Javascript from updating a read-only input field in that
form, to
writing out to a DIV (division). 

Now when I load/run the page, I get an "Object Expected" message in
position 1
of the <FORM> tag (listed below).

I think I need to go back to Highlights for Children because I can't see
what I
did wrong here.

So another pair of eyes might help. Any ideas?

 

<form name="EXTPRICE" action="/cgi-bin/noda" method="post">

  <input type="text" name="QTY" size="3" value="1" onchange="reCalc()" >

</form>

 

-Bob Cozzi

www.RPGxTools.com

RPG xTools - Enjoy programming again.

 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.