jquery - HTML5 attribute type "time" in phonegap android app hangs the app -
i have phonegap - android app (built jquerymobile), jquery version 1.9.1 , there time field (taken input) in 1 of screens. following code used.
<td><input type="time" name="fromtime_2" value="" placeholder="time" /></td> <td><input type="time" name="totime_2" value="" placeholder="time" /></td>
i have 6 of these time fields in same screens.. in <table>
. on app (android v 4.1), when select first time field, works i.e. shows android clock , able select time. problem starts when select of other time fields. shows android clock , when "set" button tapped, app hangs there , won't respond. have manually "force stop" app , restart.
updated:- "i need time field here. datetime not required" problem same when tried datetime field. works 1 datetime field.
new update:- it's showing simple keyboard (not android clock) on emulator - nothing being tracked "time" field in logs.
can let me know how fix/debug issue?
i doubt html5 supported time input type supported in android platforms. jquery mobile states
in jquery mobile, can use existing , new html5 input types such password, email, tel, number, , more. type values rendered differently across browsers
i suggest use jquery plugins date/time picking.
eg: datebox plugin
fairly simple , easy use.
Comments
Post a Comment