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

Web Development

 
GeneralRe: Error 403.1 Forbidden Pin
Keith Sheppard21-Mar-10 3:29
Keith Sheppard21-Mar-10 3:29 
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 
Hi there, I really hope you can help I have worked on this all day today and last night. I can't get the Total box to calculate. I am trying to create an online invoice for my customer to print from my web page. I have scoured the internet looking for some help, but it doesn't help that I am clueless about javascript. This is what I have tried: In my table, all I want to happen is for the user to type in a price in the Amount boxes and then have a total at the bottom. Seems pretty basic, but I just don't understand why it won't work (not really sure of what I am doing)

Can somebody please help me?
The form itself can be found at www.ahtcsonline.com/invoice.html - the source is too much to copy so it may be easier to view the form and then view the source code underneath it.

Thank you in advance,
Evan


<script type="text/javascript">
function totalamountdue(){

{
var amount, amount2, amount3, amount4, amount5, amount6, amount7, amount8, amount9, amount10;

Amount = document.Invamt.Amount.value;
Amount2 = document.Invamt.Amount2.value;
Amount3 = document.Invamt.Amount3.value;
Amount4 = document.Invamt.Amount4.value;
Amount5 = document.Invamt.Amount5.value;
Amount6 = document.Invamt.Amount6.value;
Amount7 = document.Invamt.Amount7.value;
Amount8 = document.Invamt.Amount8.value;
Amount9 = document.Invamt.Amount9.value;
Amount10 = document.Invamt.Amount10.value;
Total = document.Invamt.Total.value;

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

}
}
</script>
AnswerRe: javascript calculation total not working Pin
Jason Vetter25-Feb-10 11:24
Jason Vetter25-Feb-10 11:24 
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 

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.