Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to make a document for quoting sales.

I need to select a quantity of a certain item and have it correspond with a cost and then mark it up.

I basically want to make a form that is like excel but I haven't used javascript in years and im not sure if this is simple enough for straight html.

Could somebody please help?

Is this possible to put in drop down menus in a table?
Example

Part Name / Quantity / Cost

part1 / menu 1-5 / cost according to quantity
part2 / menu 1-5 / cost according to quantity

the drop down menu would only be in the quantity section
Posted
Updated 1-Sep-10 10:07am
v4
Comments
Dalek Dave 1-Sep-10 15:02pm    
Edited for Readability and Grammar.

1 solution

It is fairly simple, you just need to have the cost and markup values available, perhaps in an array. Use the textchanged or blur event to get the quantity multiply by cost and add markup.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900