jtsage/jquery-mobile-datebox — Issue #173: Setting the time
Author: bazjapan
Created: 2012-02-14 14:50:38+00:00
State: open

Hi I'm having difficulty setting the time.
I just posted this to stackoverflow then looking at the other datebox questions realized I'd be better to do it here.
http://stackoverflow.com/questions/9278479/jquery-mobile-databox-plugin-how-to-set-the-time
//---------------------

I am using the following to set the date of the datebox plugin

$ti_datebox.trigger('datebox', {'method':'set', 'value': theDateStr, 'date':theDate})

However, I can't set the time with the same code.

$ti_datebox.trigger('datebox', {'method':'set', 'value': theDateStr, 'date':theDate});

Ideally, I'd like to set the time based on some string values and not an actual date object. Is this possible? If not, how can I set the time? Any help much appreciated.