Need HTML Help!

Discussion in 'Miscellaneous' started by nfell2009, Jan 25, 2013.

  1. Im stuck on how to use oninput and output on a form. If someone can help it will be really thanked!

    Also what I want is you type in a username and it gives a link to the profile here is the HTML code I have used:

    <!DOCTYPE html>
    <html>
    <body>

    <form oninput="o.value = parseInt(a.value)">
    <input type="text" name="a" value="" placeholder="Username">
    Your Link:<output name="x" for="a"></output>
    </form>
    </body>
    </html>

    This is what appears:


    But I need it so you enter the username and after 'Your Link:' it will give:
  2. You don't need the first line bro.
  3. What first line? The doc type?
  4. Yep
  5. That doesn't do anything anyways. I just to fix that damn oninput
  6. Well, I'm studying HTML and the last thing I learned was <font color=... size=... face=...> so I can't help you.
  7. Maybe if you change "input" and "oninput"...
  8. Ok now when I type anything in I get NaN
  9. That's because the system couldn't parse the code or something. Try asking to a proffesional programmer lol.