jquery - jqm datebox, mode timebox giving error 'There is no mode by that name loaded/mode not given' -


i using jqm datebox; mode timebox. have added required libraries error:

there no mode name loaded/mode not given.

it used work previous versions of jquery , jquery mobile, doesn't work latest versions.

<input name="timedatebox" type="date" data-role="datebox" data-options='{"mode": "timebox", "timeformatoverride":12}' id="timedatebox" /> 

here code: http://jsfiddle.net/abvqh/194/

working example: http://jsfiddle.net/gajotres/pfj7z/

you initializing wrong databox js files.

there files don't exist:

<script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.calbox.min.js"></script> <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.datebox.min.js"></script> 

correct ones:

<script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.calbox.min.js"></script> <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.mode.datebox.min.js"></script> 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -