Skip to content Skip to sidebar Skip to footer

How To Programmatically Set Durationbox Value In Jquery Mobile Datebox2?

I am using the DateBox2 PlugIn for my jQuery Mobile webpage. I get a duration in seconds from a JSON Webservice which can be as long as multiple days (e.g. 86400s). I want to post

Solution 1:

Kindly use this:

$('element').trigger('datebox', {'method':'dooffset', 'type':'s', 'amount':86400}).trigger('datebox', {'method':'doset'});

Post a Comment for "How To Programmatically Set Durationbox Value In Jquery Mobile Datebox2?"