how to add a form with a unique id on jquery?

Can we use jQuery UI Datepicker with Bootstrap Datepicker | jQuery UI?

  • I want to add a date picker to my application. Currently, bootstrap is being used for the front end. If I use jQuery UI standard datepicker http://jqueryui.com/datepicker/, would it interfere with the design or do I need to change the design(CSS or HTML form elements) to accomodate the changes for bootstrap.

  • Answer:

    Yes. we can use jQuery UI Datepicker with Bootstrap Datepicker | jQuery UI $('#btn').click(function(){ $(document).ready(function(){ $("#datepicker-my").datepicker().focus(); }); }); You can also refer http://www.eyecon.ro/bootstrap-datepicker/

Asmita Mahamuni at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.