In an HTML-document, i want to have a (if possible: invisible) form that POSTs the contents of one text input field to my server as soon as the document is created or if possible within s seconds. The document is created via javascript’s open.
How can i do that?
No matter what you are trying to do 🙂 you can submit the form any time like this with javascript:
Let’s say you want to submit the form as soon as page loads, you can do like: