live multiplication (value from text input)

Discussion in 'JavaScript' started by Shimurai, Sep 7, 2012.

  1. #1
    Hello everyone,

    I'm doing a little personal php script and I'd like to add a javascript/jquery code that will do a multiplication with a number that will be in a text input. So for example, while I am typing a number in the text input, the javascript code will get that value and multiply it by 100 and print the result.

    This is for some sort of credits purchase system, so the user can know how many credits its going to buy after entering the value in real money.

    any help, tip, guide on how to do this would be awesome.

    thanks.
     
    Solved! View solution.
    Shimurai, Sep 7, 2012 IP
  2. #2
    xtmx, Sep 7, 2012 IP
  3. Shimurai

    Shimurai Well-Known Member

    Messages:
    186
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Shimurai, Sep 7, 2012 IP