I wrote two functions in javascript. The first function displays the current time on the screen. The second takes that time and reloads the page after 5 seconds sending the current value as a URL parameter. Except once I put in the variable the .window.location stops working.
I am not very experienced with javascript and can not seem to figure what I am doing wrong. Here is the code:
Any hep would be appreciated.