1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Rep Power

    Linking text boxes together to perform a function

    I'm not sure if I'm going to describe what I want properly or not, but here goes.

    I'm creating a javascript calculator on a webpage. At the moment I've got all the fields displayed and the user can enter the relevant data. However, most of these fields are required to add together and display the final number within a specified box (also on the page). In excel this is stupid easy, javascript coding however, I'm a total noob with. Any help would be awesome!

  2. #2
  3. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Rep Power
    Look into doing an online search for: "JavaScript Math" and "How To Get Input Element Values with JavaScript". Once you get the basics down; you should be able to put it all together.

IMN logo majestic logo threadwatch logo seochat tools logo