Skip to content

All topics  /  General

How to display responsive calendar in div?

General ·

Hello Guys,

You have to simple display calendar for date imformation then use this example. also display datepicker in span and div. this is jquery-ui div calendar demo. jquery-ui provide responsive and custmize datepicker in div.how to create calendar in html using jquery.

<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<div id="datepicker"></div>
<script>
  $( function() {
    $( "#datepicker" ).datepicker();
  } );
</script>