HighDots Forums  

Re: I need to calculate the total using javascript where i use 3seperate list boxes

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: I need to calculate the total using javascript where i use 3seperate list boxes in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mscir
 
Posts: n/a

Default Re: I need to calculate the total using javascript where i use 3seperate list boxes - 04-20-2004 , 11:26 PM






bin_P19 P wrote:
Quote:
the code i have got is as follows and now im stuck
snip

- you're missing a lot of semicolons.
- there's a lot of content in <th>'s that I think belongs in <td>'s.
- I've been told here that language is no longer used, so:
<script type="text/javascript">
- too many double-quotes in this line:
<h1 align="center" class="style"2">
- the (only) form is closed twice:
</form>
<p>&nbsp;</p>
</form>
- you have 2 arrays containing month names:
MonthName, months
- combine price/item functions:
function updatePricing(objSelect,objSelectIndex) {
var ds=objSelect[objSelectIndex];
addValues(ds.text,ds.value);
}
- consider moving code from updatePricing to addValues
- forgot a ">":
"<h2>Today is " ... ".<\/h2"

There were more changes, I sent a revised version of you page to your
email address.

Mike



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.