Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
JqueryUI - Set the numberOfMonths option to an integer of 2 or more to show multiple months in a single datepicker.
SUBMITTED BY:
jlolk3r
DATE:
Feb. 15, 2016, 3:43 a.m.
FORMAT:
HTML
SIZE:
662 Bytes
Raw
Download
Tweet
HITS:
1838
Go to comments
Report
<!doctype html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
title
>
jQuery UI Datepicker - Display multiple months
</
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
({
numberOfMonths
:
3
,
showButtonPanel
:
true
});
});
</
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