I need to make a generic text field with the bizarre requirements that:
a) the text typed is automatically (or rapidly, on short, fixed intervals) stored on the server
b) the text typed in either disappears or is hidden from view (as in password dots) from the user.
I have a good amount of experience with HTML and Java, but done with this level of complexity. I can't get my head around it. The password dots I know will be easy, but rapidly storing the information in the text field boggles me. Any help would be greatly appreciated!
- 'transfer' the value to a hidden input (this is optional, for safety)
- 'clear' the value of the textbox itself
- fire another function which will send, via AJAX technique, data (the hidden input's value) to a server-side application (in order to be submitted, further, to the server's DataBase). That function could be fired from time to time, on using a setTimeout() or a setInterval(). There might be a problem with the order of the AJAX requests, if they are too frequent / time unit, but this is to be solved, somehow, I guess.