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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:19:15+00:00 2026-06-11T08:19:15+00:00

I am using the JQuery DatePicker plugin for my ASP.Net MVC 3 Web Application.

  • 0

I am using the JQuery DatePicker plugin for my ASP.Net MVC 3 Web Application. I have used the DatePicker alot of times previously in other applications without any trouble.

However, I have come across an issue in my current app, whereby, the JQuery DatePicker works only intermittently. What I mean by this is, for example, I have the following JavaScript file

$(document).ready(function () {

    //Equal Opps
    $('#DOB').datepicker({ dateFormat: 'dd/mm/yy', changeMonth: true, changeYear: true, yearRange: "1900:2030" });


});

This file is referenced in my Razor View (along with all the other files needed to make DatePicker work) and then I have the following TextBox which once clicked on, the DatePicker should pop up.

<div class="editor-field sepH_b">
            @Html.TextBoxFor(model => model.DOB)
            @Html.ValidationMessageFor(model => model.DOB)
</div>

However, sometimes when the page loads and I click on the TextBox, the DatePicker pops up, if I refresh the page and click on the TextBox again, the DatePicker won’t work, if I then refresh again and click on the TextBox, the DatePicker then works ???

Sometimes when I load the page for the 1st time, the DatePicker will not work at all.

I really have no solution to what is going on here. Maybe it is a caching issue, but I really don’t know.

Please could someone help me with this, it would be greatly appreciated.

Thank you.

  • 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-11T08:19:16+00:00Added an answer on June 11, 2026 at 8:19 am

    After looking through my code in a bit more detail, I realised that in the head section of my Master Layout page, I was referencing various JQuery scripts. I forgot that these scripts were already referenced here, yet I was still referencing them again in other pages throughout my site. I removed the duplicated references and everything seems to be working as expected again.

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

Sidebar

Related Questions

I'm using jQuery's datepicker plugin in .NET ASP MVC3 intranet application. User that use
i am working on asp.net using C# and using jquery datepicker my question is,
I'm using jquery Ui datepicker plugin and i have a dive containing swf element
I'm using custom plugin for jQuery UI datepicker - Timepicker I have two fields,
I am using Asp.Net Mvc3 and the unobtrusive jquery validation. I'd like to have
I'm using the jquery datepicker plugin at http://plugins.jquery.com/project/datepick with the datepicker validation plugin. <script
I'm using this jQuery inline datePicker plugin sample but I don't know how to
I am using jquery datepicker for my application. I want to highlight the dates
I am currently using the JQuery plugin Datepicker in my Symfony project with the
i'm using successfully a jquery datepicker with masked input plugin too in a aspx

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.