I have a time picker on my site. This is set to display the current time as a default time. However I have noticed that if a user does not change that time but leaves it as current (which would be quite common), I cannot seem to obtain that time from my code. E.g. my code:
Returns blank in text51, because (I suspect) the timepicker1.value is not set. I.e. the current time displayed on the timepicker is merely a display and not a value.
The above code works fine if the user actually clicks onto the timepicker. But that seems wrong and a little pointless to me. If the current time is what the user wishes to use, they should be able to move on pass that field without having to select it?
Appreciate any help