Update div with data from input field, using jQuery. I could not find such a simple example anywhere so I built this example. After button click the input data is written in empty element below. The field is cleard. Screen capture demo: