How to remove the current date from date box in jquery mobile? -
how remove current date date box .actually when open date box high light current date.but user select date example "14". if user again open date box hightlight "14"and current date. here fiddle http://jsfiddle.net/ravi1989/uhdyv/1/
<input name="mydate" id="mydate" type="date" data-role="datebox" class="documentdate_h" data-options='{"mode": "calbox","usenewstyle":true,"zindex":1200}' />
first click (+) button on header .it show pop .open date box .it show today date select date .then again open date box.it show selected date , today's date.?
second issue how change colour of monday , tuesday ...?
changing color of current date default theme "a" can use this: <input name="mydate" id="mydate" type="date" data-role="datebox" data-options='{"mode": "calbox", "usenewstyle":true, "themedatetoday": "e", "zindex":2000}'/> hence current date in yellow, instead of blue , choosen date can default blue. refer these sites theming of call box: http://dev.jtsage.com/jqm-datebox2/demos/fullopt.html http://dev.jtsage.com/jqm-datebox2/demos/api/themes.html there no such setting month text, "tu we" etc override class per below: .ui-datebox-griddate-label { height: 15px!important; line-height: 15px!important; color: green; }
to remove highlighting of current date , keep selected date being highlighted can this:
but keeping both need modify datebox's api code itself...
Comments
Post a Comment