Created
January 26, 2012 17:17
-
-
Save scopevale/1683877 to your computer and use it in GitHub Desktop.
jsFiddle/Gist demo - jQuery UI DatePicker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="demo"> | |
<p>Date: <input type="text" id="datepicker"></p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
var locale = 'en-GB'; | |
$.datepicker.setDefaults( { | |
changeMonth: true, | |
changeYear: true, | |
} ); | |
$.datepicker.setDefaults( $.datepicker.regional[locale] ) | |
$('#datepicker').datepicker( ); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: jsFiddle/Gist demo - jQuery UI DatePicker | |
description: jsFiddle demo hosted on Gist using jQuery UI to display a popup calendar | |
authors: | |
- Gary Smith | |
title: | |
- JS Fiddle - jsFiddle/Gist integration demo - DatePicker | |
resources: | |
- /js/empty.js | |
- http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/start/jquery-ui.css | |
- https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js | |
- https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/i18n/jquery-ui-i18n.js | |
normalize_css: yes | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://jsfiddle.net/gh/gist/jquery/edge/1683877/