Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calculate the total automatically

 
Melvin Reynold
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to use javascript to calculate the total automatically? Thank you.
itotall = ipricee * iquantityy

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where's your first attempt at the code?
 
Melvin Reynold
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first i will input price and then quantity. after i input quantity, it will calculate the total automatically. i havent started doing the code yet.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you have some code and are having some problems with it, you know where to come!
 
Ted Addis
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Post removed. While we appreciate your wanting to help, just giving out code does not teach the poster anything. Please read this for more information.]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic