faqts : Computers : Programming : Languages : JavaScript : Forms : TextAreas/TextFields

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

46 of 64 people (72%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

JavaScript: Can a text input field be set to overwrite mode?

Oct 18th, 2001 15:50
Knud van Eeden, Ben,


------------------------------------------------------------------------
--- Knud van Eeden - 19 October 2001 - 03:00 am ------------------------

Current solution:

built-in settings for toggle overwrite/insert mode for a text input 
field
in HTML are with almost certainty not present.

---

Current idea for possible workaround:

If you press by hand the key 'insert' on your keyboard, it toggles 
between
overwrite and insert in the text field.
So a more automatic solution should be to insert the key 'Insert' in the
keyboard buffer.

But that seems not possible either (because of e.g. security purposes)
in JavaScript.

---

tried:
[Internet: source: http://www.google.com: search for 'insert "keyboard 
buffer" JavaScript']
[Internet: source: http://www.google.com: search for 'text overwrite 
JavaScript']
[Internet: source: http://www.google.com: search for 'text insert 
JavaScript']
[Internet: source: http://www.google.com: search for 'How to toggle 
overwrite in a text input field in HTML']
[Internet: source: http://www.google.com: search for 'How to set 
overwrite mode in a text input field in HTML']
[Internet: source: http://www.google.com: search for 'How to toggle 
between overwrite and insert mode in a text input field in JavaScript]

------------------------------------------------------------------------