Results 1 to 2 of 2

Thread: How To Add prices an give Sub total

  1. #1
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How To Add prices an give Sub total

    Hi guys
    am new to coding and html
    I have a uni project going on, its a website in html, what i have been asked to do now is, for a product selected (maybe from a combobox) i would like the total price of all products selected to appear on a seperate page.

    example a soft drink ($1.50) selected from a combo box and a burger ($2.00) selcted from a combo box, i would like the total of the above products to be shown on a seperate page.
    what is this the best way to do this?

    I would not know how to start, i already have a my webpages linked and my template setup, so i would like to carry on using this. im assuming maybe asp or java is the best bet?


    any help would be greatly appreciated
    thanks
    J

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    im assuming maybe asp or java is the best bet?
    You're right assuming that you mean JavaScript and not Java. Try doing a Google search for "math in javascript" or "math in ASP", etc... You'll get tons of results.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •