AJAX won't work.Please help

Please, can anyone help me with this one? This is my first time using AJAX, the code doesn’t report any problem but it won’t print result which should be - “Hello” in the second textbox.I also tried to put submint button but it only resets the value in the first text box at the beggining.Thanks.


Vreme se ispisuje bez ponovnog uciavanja stranice
`<?php  echo "Hello";?>`