Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
JqueryUI - The datepicker can show the week of the year. The default calculation follows the ISO 8601 definition
SUBMITTED BY:
jlolk3r
DATE:
Feb. 1, 2016, 8:40 a.m.
FORMAT:
HTML
SIZE:
647 Bytes
Raw
Download
Tweet
HITS:
2686
Go to comments
Report
<!doctype html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
title
>
jQuery UI Datepicker - Show week of the year
</
title
>
<
link
rel
=
"stylesheet"
href
=
"//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"
>
<
script
src
=
"//code.jquery.com/jquery-1.10.2.js"
></
script
>
<
script
src
=
"//code.jquery.com/ui/1.11.4/jquery-ui.js"
></
script
>
<
link
rel
=
"stylesheet"
href
=
"/resources/demos/style.css"
>
<
script
>
$
(
function
()
{
$
(
"#datepicker"
).
datepicker
({
showWeek
:
true
,
firstDay
:
1
});
});
</
script
>
</
head
>
<
body
>
<
p
>
Date:
<
input
type
=
"text"
id
=
"datepicker"
></
p
>
</
body
>
</
html
>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus