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 8879477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:57:31+00:00 2026-06-14T19:57:31+00:00

I would rather use the Meteor package implementation of Bootstrap rather than the less

  • 0

I would rather use the Meteor package implementation of Bootstrap rather than the less files version but I am having a hell of a time getting a datepicker to work.

There seem to be three versions in varying states with the last one by Aymkdn being compiled and ready to go.

http://www.eyecon.ro/bootstrap-datepicker/

https://github.com/eternicode/bootstrap-datepicker/

https://github.com/Aymkdn/Datepicker-for-Bootstrap

The version by Aymkdn works fine in plain vanilla html but not served from Meteor and I am having a helluva time figuring out why.

I would like to use the one by Aymkdn with Meteor but I cannot get it to work. I think it may have to do with either the js loading order in Meteor or the DOM rendering. Any insights into how I can get this to work?

Thanks
Steeve

  • 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-14T19:57:32+00:00Added an answer on June 14, 2026 at 7:57 pm

    Perhaps this approach wasn’t available when this question was originally posted, but I’m initializing the datepicker when its template is rendered.

    Template.templateName.rendered = function() {
        $('#datepicker').datepicker();
    }
    

    Here is a link to the event: http://docs.meteor.com/#template_rendered

    With this approach, I don’t have maintain a session property or handle focus events. Prashant’s solution didn’t work for me when the template was unloaded and returned to since the session property was tripped. I also had an issue wherein the datapicker didn’t display the first time it got focus.

    Yes, the datapicker will get initialized each time the template is rendered, but I think that’s okay since I’m pretty sure template resources are cleaned up when navigating between them anyway.

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

Sidebar

Related Questions

Would you rather use a version number (that will increment) or a timestamp to
Why would one use the AlertDialog.Builder class rather than the methods directly available to
Why would one use realloc() function to resize an dynamically allocated array rather than
Rather than reinvent the wheel I would like to use Outlook to manage my
Why would one use func( const Class &value ) rather than just func( Class
I need to write a python webservice, but I would rather use a LIGHT
I have seen some samples using var_dump, but I I would rather use a
I would rather have the DB locally on their server but do not have
Hey guys, I have some code that I found that I would rather use
Is there a better way to do this? I would rather use an existing

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.