mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker demo (localization): Add English as an option.
(cherry picked from commit 8ad8cea695
)
This commit is contained in:
parent
ee4cd548e4
commit
e34c92bbbc
@ -15,7 +15,6 @@
|
|||||||
<link rel="stylesheet" href="../demos.css">
|
<link rel="stylesheet" href="../demos.css">
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$.datepicker.setDefaults( $.datepicker.regional[ "" ] );
|
|
||||||
$( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] );
|
$( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] );
|
||||||
$( "#locale" ).change(function() {
|
$( "#locale" ).change(function() {
|
||||||
$( "#datepicker" ).datepicker( "option",
|
$( "#datepicker" ).datepicker( "option",
|
||||||
@ -30,6 +29,7 @@
|
|||||||
<select id="locale">
|
<select id="locale">
|
||||||
<option value="ar">Arabic (‫(العربية</option>
|
<option value="ar">Arabic (‫(العربية</option>
|
||||||
<option value="zh-TW">Chinese Traditional (繁體中文)</option>
|
<option value="zh-TW">Chinese Traditional (繁體中文)</option>
|
||||||
|
<option value="">English</option>
|
||||||
<option value="fr" selected="selected">French (Français)</option>
|
<option value="fr" selected="selected">French (Français)</option>
|
||||||
<option value="he">Hebrew (‫(עברית</option>
|
<option value="he">Hebrew (‫(עברית</option>
|
||||||
</select></p>
|
</select></p>
|
||||||
|
Loading…
Reference in New Issue
Block a user