After stop is pressed, the time is inserted into the respected span tag. Once every timer has been started and stopped, I want to be able to grab the four separate times and put them in a form that will show up later on (with the use of some jquery).
Note that all of this is on the same page. I don’t want to submit anything until these timers have been used. I’m just wanted to fill in the form at this point.
I feel like this might be easier than I think, but I cannot figure out how to do this. There has to be a way to set a php variable to the name attribute of a specific html tag. For example, if one of my span tags has the name "time1", can I do: $firstTime = param(‘time1’); or something of the like?