aspose file tools*
The moose likes Java in General and the fly likes Adding prices using Javascript    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Adding prices using Javascript    " Watch "Adding prices using Javascript    " New topic
Author

Adding prices using Javascript

Jimi Warren
Greenhorn

Joined: Jan 26, 2008
Posts: 10
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

Joined: Jan 10, 2002
Posts: 61769
    
  67

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 ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Jimi Warren
Greenhorn

Joined: Jan 26, 2008
Posts: 10
Sorry, I am talking about javascript client-side.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Cool. I'll move this off to our HTML/JavaScript forum. See you there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding prices using Javascript