jquery - jQM datepicker not styling properly and datepicker not running $.datepicker({onSelect:function(){}}) properly -
problem #1
this fiddle's calendar (below) unstyled properly. can tell me why? i've been looking @ hours.
as compared fiddle's below.
both using same external files:
- https://rawgithub.com/arschmitz/jquery-mobile-datepicker-wrapper/v0.1.1/jquery.mobile.datepicker.js
- https://rawgithub.com/jquery/jquery-ui/1.10.4/ui/jquery.ui.datepicker.js
- https://rawgithub.com/arschmitz/jquery-mobile-datepicker-wrapper/v0.1.1/jquery.mobile.datepicker.css
- http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js
- http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css
- http://code.jquery.com/jquery-1.9.1.js
problem #2
the first fiddle runs below function well
$(document).ready(function () { $("#date1").datepicker({ onselect: function () { alert("haha"); } }); });
whereas second fiddle not.
Comments
Post a Comment