Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding prices using Javascript

 
Jimi Warren
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am relativley new to javascript, I have previously used it only to make simple java applets; but recently I have been trying to lear more about the language.

I have decided to make an online store for my small computer buisness, but I came across a hurdle when designing the computer customisation section. I want customers to be able to see the 'live' total cost of there computer system as they add components to it (using a form). At the moment the form sends the selected data back to me by email and I have to add the prices up and send a reply email to the customer.

This is somewhat impractical and I thought that javascript would be the right solution to add the selected component prices on the webpage.

Can anyone help with the scripting?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64712
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by JJ-Jimi:
I am relativley new to javascript, I have previously used it only to make simple java applets; but recently I have been trying to lear more about the language.

Applets are written in Java, not JavaScript, so it's not clear which language you are really asking about.

Java and JavaScript have little in common except for the unfortunate naming. (Netscape thought that JavaScript sounded better than ECMAScript back in the 90's).

So which is it? Are you asking about server-side Java? Or client-side JavaScript?

I suspect the latter, but want to be sure.
[ January 26, 2008: Message edited by: Bear Bibeault ]
 
Jimi Warren
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I am talking about javascript client-side.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64712
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool. I'll move this off to our HTML/JavaScript forum. See you there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic