Hello everyone.
I would like to create an input field which sends the text to the database and then automaticly updates a certain div content.
The db part I know how to do, but I don't the updating part:

-----------------------------------------------------------
Enter text (on click, send text to db and change div1 text)
-----------------------------------------------------------

-----------------------------------------------------------
div1 text
-----------------------------------------------------------

So how can I do that?
Thanks.