Click here to Skip to main content
15,888,610 members
Home / Discussions / Web Development
   

Web Development

 
GeneralMessage Removed Pin
1-Mar-10 4:04
daveyerwin1-Mar-10 4:04 
GeneralRe: Error 403.1 Forbidden Pin
Keith Sheppard21-Mar-10 5:53
Keith Sheppard21-Mar-10 5:53 
QuestionCall to standard Web browser Pin
Behzad Saffarian28-Feb-10 1:05
Behzad Saffarian28-Feb-10 1:05 
AnswerRe: Call to standard Web browser Pin
Not Active28-Feb-10 1:57
mentorNot Active28-Feb-10 1:57 
AnswerRe: Call to standard Web browser Pin
The Man from U.N.C.L.E.2-Mar-10 7:24
The Man from U.N.C.L.E.2-Mar-10 7:24 
AnswerRe: Call to standard Web browser Pin
T M Gray3-Mar-10 11:21
T M Gray3-Mar-10 11:21 
Questionjavascript calculation total not working Pin
esebagel25-Feb-10 10:54
esebagel25-Feb-10 10:54 
AnswerRe: javascript calculation total not working Pin
Jason Vetter25-Feb-10 11:24
Jason Vetter25-Feb-10 11:24 
Try this:


function totalamountdue(){
var Amount = document.getElementById("Amount").value;
var Amount2 = document.getElementById("Amount2").value;
var Amount3 = document.getElementById("Amount3").value;
var Amount4 = document.getElementById("Amount4").value;
var Amount5 = document.getElementById("Amount5").value;
var Amount6 = document.getElementById("Amount6").value;
var Amount7 = document.getElementById("Amount7").value;
var Amount8 = document.getElementById("Amount8").value;
var Amount9 = document.getElementById("Amount9").value;
var Amount10 = document.getElementById("Amount10").value;

document.getElementById("Total").value = amount + amount2 + amount3 + amount4 + amount5 + amount6 + amount7 + amount8 + amount9 + amount10;

}



We really should add some error handling and/or only allow numbers in the text boxes.
GeneralRe: javascript calculation total not working Pin
esebagel25-Feb-10 13:11
esebagel25-Feb-10 13:11 
AnswerRe: javascript calculation total not working [modified] Pin
daveyerwin25-Feb-10 13:52
daveyerwin25-Feb-10 13:52 
GeneralRe: javascript calculation total not working Pin
esebagel25-Feb-10 15:45
esebagel25-Feb-10 15:45 
GeneralRe: javascript calculation total not working Pin
daveyerwin25-Feb-10 16:03
daveyerwin25-Feb-10 16:03 
GeneralRe: javascript calculation total not working Pin
daveyerwin25-Feb-10 20:22
daveyerwin25-Feb-10 20:22 
AnswerRe: javascript calculation total not working Pin
Boro_Bob1-Mar-10 23:08
Boro_Bob1-Mar-10 23:08 
GeneralRe: javascript calculation total not working Pin
esebagel2-Mar-10 2:17
esebagel2-Mar-10 2:17 
GeneralRe: javascript calculation total not working Pin
Boro_Bob2-Mar-10 5:52
Boro_Bob2-Mar-10 5:52 
QuestionLock up a browser on purpose. Pin
ItIsFinished25-Feb-10 8:20
ItIsFinished25-Feb-10 8:20 
QuestionLocalization Problem in ASP Pin
jyoti_aggarwal25-Feb-10 6:13
jyoti_aggarwal25-Feb-10 6:13 
AnswerRe: Localization Problem in ASP Pin
Daniel Vaughan25-Feb-10 7:29
Daniel Vaughan25-Feb-10 7:29 
QuestionLOGON_USER Server variable in IIS7 Pin
dreamaway82024-Feb-10 9:57
dreamaway82024-Feb-10 9:57 
QuestionLoosing session variables Pin
Hannes Smit23-Feb-10 23:15
Hannes Smit23-Feb-10 23:15 
QuestionGoogle ChromeFrame and .net web browser controller wrapping IE C#.net Pin
faheemnadeem22-Feb-10 22:16
faheemnadeem22-Feb-10 22:16 
QuestionBackground image problem in Office Outlook Pin
Majid Shahabfar22-Feb-10 19:32
Majid Shahabfar22-Feb-10 19:32 
Answerrepost Pin
Not Active22-Feb-10 20:59
mentorNot Active22-Feb-10 20:59 
QuestionHow to use Numbered Lists inside HTML tables Pin
Marc Hankin22-Feb-10 15:38
Marc Hankin22-Feb-10 15:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.