This trick has been around since the beginning of time, but from time to time the most moral of developers will be confronted
with that humongous blanket of an issue... the web is stateless, and forget this trick. Loaded=loaded, done=done.
Running a document.write is just going to start a new document. How do we run updates, fake as they may be? (if someone
figures out how to query a database without a page load, please, for the sake of all that is good, tell me).
Make form elements with styles that look like what they are sitting on. Change their dot values.
Reference them with IDs or by their form dot name. EASY.
|