rjbathgate — 2011-01-23T17:20:04-05:00 — #1
I have the following:
document.write(hours + minutes + day + month + year)
I want to populate the xxxxxx with the result of the document.write
I.e. I am generating a variable which is time & date, and want that in the val('xxxx') field
It's probably very simple, but I'm short on js skills - thinking need to define the time/date as a variable and then populate that into val('') somehow?
Many thanks in advance
chris_upjohn — 2011-01-23T17:22:40-05:00 — #2
Something like this?
var set = hours + minutes + day + month + year;
rjbathgate — 2011-01-23T18:23:52-05:00 — #3
Spot on, thank you heaps!!
chris_upjohn — 2011-01-23T20:59:03-05:00 — #4