Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8421223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:05:31+00:00 2026-06-10T03:05:31+00:00

I download the bootstrap-datepicker.js and include it in my application .js file. It is

  • 0

I download the bootstrap-datepicker.js and include it in my application .js file.
It is not working in view

 <div class="well">
<div id="dp5" class="input-append date" data-date-format="dd-mm-yyyy" data-date="12-02-2012">
<input class="span2" type="dp5" readonly="" value="12-02-2012" size="16">
<span class="add-on">
<i class="icon-th"></i>
</span>
</div>

It is not displaying the calender for date. where m i wrong?

my application.js file is

//= require jquery
//= require jquery_ujs
//= require bootstrap
//= require bootstrap-datepicker

//= require picker
//= require_tree .

$('#dp5').datepicker()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:05:33+00:00Added an answer on June 10, 2026 at 3:05 am

    Add //= require_self to application.js

    this includes its own file contents too.
    This has to be done explicitly.

    also keep the application.js formatted

    //= require jquery
    //= require jquery_ujs
    //= require bootstrap
    //= require bootstrap-datepicker
    //= require picker
    //= require_tree .
    //= require_self
    
    $(function() {
       $('#dp5').datepicker()
     });
    
    // Do not keep bank spaces between included files.
    

    I would suggest to create a new js file and add contents in it and then include it in application.js

    keep application.js as a index file

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Download file already success but when install it has an error application-not-installed I already
I have a problem with stylize buttons in bootstrap. <div class=btn-group> <button class=btn btn-midd>Link</button>
So I'm using the Bootstrap Customize and Download page to generate a version of
I Download Jquery datepicker from http://jqueryui.com/demos/datepicker/ and use it,know I want to my calndar's
I download a png file from link. But sometimes there is no file. And
I have a working JNLP application which I need to distribute to various non-technical
DOWNLOAD_PATH=sample.ext RATE_LIMIT=300K mkdir ../$DOWNLOAD_PATH BASE_COMMAND=screen wget --continue --directory-prefix=../$DOWNLOAD_PATH --tries=2 --input-file=$DOWNLOAD_PATH $(${BASE_COMMAND} --limit-rate=${RATE_LIMIT}) This does
I download a bz2 file using Python. Then I want to unpack the archive
I download one program that read file and then parse double values from String
I download the *.ics file successfully from the mail attachment by using intent-filter. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.