Changing the val name without refreshing the page.

Changing the val name without refreshing the page.

Page contain input bar for which user can type in certain numbers and submit.
Without refreshing the page I would like to change the "var Name" below according to the user input instead of the current datetime.



Thank you very much!