Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2012
    Location
    Washington State
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Enter keystrokes from the HTML Buttons

    Hello,
    Working With a touch screen, have created HTML page that has a custom keyboard for password input, no mouse or keyboard connected.
    Is there a way to enter keystrokes from the HTML Buttons into a (my form) text area (password) using HTML, or will will I have to Use Java script.



    Thank You for any Info.

  • #2
    Regular Coder
    Join Date
    Jan 2012
    Posts
    134
    Thanks
    0
    Thanked 32 Times in 32 Posts
    Do you mean that when you click a <button> element on the page, data inside an input field changes?

    Anything dynamic on the page has to be done with JavaScript. Fortunately, something like changing the text of an input box is very easy. If you can describe a little better what you want to do, we can give you a quick example.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •