Jump to content

How to write in a input field directly from keyboard?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Thevenin

Thevenin

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts
Hi all, I've searched the web for a complete Javascript or some hint, but I didn't find an interesting script or article to implement what I've thought.
There's a way to write text or number from the keyboard directly in a:
<input type="text" name="display" value="0" maxlength="10" disabled="disabled">


#2
wim DC

wim DC

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,084 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Java
I'm sure you can with Chrome. I assume Firefox's firebug has a same way of adding the "value" attribute on the fly.
I'm not sure if IE is capable of doing that. And unless you're telling us what you're planning to do, I may help you further. Since when the field is disabled, it's disabled for a reason.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users