Now watch the title at the top left corner of this page ( or place the mouse over the current page tab at top ) .
We can keep on changing the title as we type the keys. Here we will use onkeyup event handler to read the key data. Here is the demo.
Enter data in above text box and see how the title changes as you enter data.