The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Calculations, How do I?
Scatman
post Mar 4 2009, 02:41 PM
Post #1





Group: Members
Posts: 2
Joined: 4-March 09
Member No.: 7,965



I am brand new to html and need a hand. I want to have a column of input fields with a column to the right which multiplies the number entered in the input field by a fixed price, and a total field at the bottom of the input column which totals the entries above. Heeeelp! huh.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 4 2009, 02:45 PM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 15,619
Joined: 9-August 06
Member No.: 6



Well, HTML can't do that. It's a mere markup language, not a programming language, so it can't really *do* things, make stuff happen. Sounds like a case for JavaScript if it isn't very important. If it is you should use some kind of server side scripting. smile.gif


--------------------
"Never go to excess, but let moderation be your guide."
- Cicero

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Scatman
post Mar 4 2009, 03:20 PM
Post #3





Group: Members
Posts: 2
Joined: 4-March 09
Member No.: 7,965



QUOTE(pandy @ Mar 4 2009, 07:45 PM) *

Well, HTML can't do that. It's a mere markup language, not a programming language, so it can't really *do* things, make stuff happen. Sounds like a case for JavaScript if it isn't very important. If it is you should use some kind of server side scripting. smile.gif


Okydokes, ta! Any clues where to look for guidance? I don't know what server side scripting is!!!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Mar 4 2009, 04:56 PM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,024
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Well, there's Section 2: Other Documents in the FAQ...

Server-side scripting is a program that runs on your server. Since it's on your server, you can control it and its behavior does not depend on browser configurations. Examples include PHP, CGI, and ASP.

Client-side scripting runs on the client (i.e., on the browser), which means that it may or may not run, depending on the browser configuration. JavaScript is the main client-side scripting language.


--------------------
Darin McGrew
WDG Member since 1998
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Mar 4 2009, 11:17 PM
Post #5


Jocular coder
********

Group: Members
Posts: 2,262
Joined: 31-August 06
Member No.: 43



QUOTE(Scatman @ Mar 5 2009, 04:41 AM) *

I am brand new to html and need a hand. I want to have a column of input fields with a column to the right which multiplies the number entered in the input field by a fixed price, and a total field at the bottom of the input column which totals the entries above. Heeeelp! huh.gif


What do you want to _do_ with the total when you have calculated it?


--------------------
Brian Chandler
Nothing in this post constitutes "commercial solicitation". PayPal does not solicit residents of Japan. Contents may settle in transit. "Legal mind" may or may not be brain-damaged.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd November 2014 - 03:37 AM