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.

enter image description here

as compared fiddle's below.

enter image description here

both using same external files:

  1. https://rawgithub.com/arschmitz/jquery-mobile-datepicker-wrapper/v0.1.1/jquery.mobile.datepicker.js
  2. https://rawgithub.com/jquery/jquery-ui/1.10.4/ui/jquery.ui.datepicker.js
  3. https://rawgithub.com/arschmitz/jquery-mobile-datepicker-wrapper/v0.1.1/jquery.mobile.datepicker.css
  4. http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js
  5. http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css
  6. 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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -