javascript - How Do I Add Datepicker Using Bootstrapdatepicker In Mvc Application? -


how add datepicker using bootstrapdatepicker in mvc application?

am creating 1 application using .net mvc. want add datepicker. downloaded bootstrapdatepicker using nu-get package. please explain how use it? tried below doesn't work.

addded js , css files

  1. datepicker3.css
  2. bootstrap-datepicker.js

then added 1 input box in page hide copy code

<input type="text" id="gd" type="text" class="form-control"> 

added below code hide copy code

$(document).ready(function () {   $("#gd").datepicker({     calendarweeks: true   }); }); 

please suggest if have other way or explain me how using nuget package? nothing coming when click on input box . expecting datepicker populate. issue here?

look tool button in toolbar, select nuget package manager , select package manager console, type in package manager console "install-package datepicker


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -