Calculations, How do I? |
Calculations, How do I? |
Scatman |
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!
|
pandy |
Mar 4 2009, 02:45 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 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.
|
Scatman |
Mar 4 2009, 03:20 PM
Post
#3
|
Group: Members Posts: 2 Joined: 4-March 09 Member No.: 7,965 |
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. Okydokes, ta! Any clues where to look for guidance? I don't know what server side scripting is!!! |
Darin McGrew |
Mar 4 2009, 04:56 PM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 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. |
Brian Chandler |
Mar 4 2009, 11:17 PM
Post
#5
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
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! What do you want to _do_ with the total when you have calculated it? |
Lo-Fi Version | Time is now: 28th March 2024 - 05:58 AM |