number input box with adjustable arrows

Discussion in 'HTML & Website Design' started by Gnome, Feb 23, 2011.

  1. #1
    Gnome, Feb 23, 2011 IP
  2. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #2
    that simply can be done with the use of javascript.
    if you cant you might better of hiring somebody do it for you.
     
    webcosmo, Feb 23, 2011 IP
  3. pctraffic

    pctraffic Peon

    Messages:
    18
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Place a < at the beginning of each line and > at the end
    form
    input type=text name=amount value=5
    input type=button value="up" onClick="javascript:this.form.amount.value++;"
    input type=button value="down" onClick="javascript:this.form.amount.value--;"
    /form
    Hope this helps
     
    pctraffic, Feb 23, 2011 IP