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

  • SEARCH
  • Home
  • 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 8087569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:49:08+00:00 2026-06-05T18:49:08+00:00

I recently found the mobipick calendar and I really like it due to its

  • 0

I recently found the mobipick calendar and I really like it due to its fast performance.
However I am having some trouble setting the minimum date four days from now.
If you go on the mobipick website, you can add min=”…” in the html attribute, but it doesn’t specify today’s date.
The following code can be found on the website as well,
how can I achieve this?

Javascript/Jquery

<script type="text/javascript">
$(document).ready(function () {
    var picker = $("#picker", this);
    picker.mobipick();

    picker.bind("change", function () {
        var date = $(this).val();

        // formatted date                   
        var dateObject = $(this).mobipick("option", "date");
    });
});
</script>

HTML

<input id="picker"  type="text" />
  • 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-05T18:49:09+00:00Added an answer on June 5, 2026 at 6:49 pm

    In order to set the min date four days from now, create an input element

    <input type="text" />
    

    and add this JavaScript

    $( selector ).mobipick({
        minDate: (new XDate()).addDays( 4 )
    });
    

    You need version 0.6 for this example to work, download or fork at GitHub https://github.com/sustainablepace/mobipick. I’ve also added a working example at http://mobipick.sustainablepace.net/demo-advanced.html, see section “Datepicker with dynamic min date”.

    Let me know if this works for you.

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

Sidebar

Related Questions

I recently found some code like this: typedef int TenInts[10]; void foo(TenInts &arr); What
I recently found out about Cytoscape.js and would like to try out the force-directed
I recently found out about the WeakHashMap data structure in Java. However, I don't
I recently found that a query would not work on some of my records
I recently found some problems when I tried to rename a package in a
So I've recently found the disabled attribute in the Em.TextField, however I can't seem
I recently found myself writing some XML in my Visual Studio 2010 Project's App.config
I recently found out about auto-properties and like them quite a lot. At this
I recently found a cool little project that I would like to download the
Recently found something peculiar in a filter, I can't believe its intended behaviour. from

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.