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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:54:52+00:00 2026-06-16T01:54:52+00:00

I have used a calendar from so called DateTimePicker.js and also used it on

  • 0

I have used a calendar from so called DateTimePicker.js and also used it on my html e.g:

<input id="startDate" name="startDate" id="startDate" type="text" size="20" value="">
    <a href="javascript:NewCssCal('startDate','ddMMyyyy','arrow')">
        <img src="images/cal.gif" width="16" height="16" border="0" alt="Pick a date"/></a>
</input>

The question is, how can i detect any changes on calendar since I tried to test with the following jQuery but apparently it didn’t work:

   <input id="startDate" name="startDate" id = "startDate" type="text" size="20"  value="">
   <script type="text/javascript">$(document).ready(function() {
        $("#startDate").bind('change', function(e) {
            alert('changing date!');
        });
    });
   </script>
   <a href="javascript:NewCssCal('startDate','ddMMyyyy','arrow')">
      <img src="images/cal.gif" width="16" height="16" border="0" alt="Pick a date"/>
   </a>
   </input>
  • 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-16T01:54:53+00:00Added an answer on June 16, 2026 at 1:54 am

    The output(viewsource) is something like

    <input id="startDate" readonly="readonly" name="startDate" id = "startDate" type="text" size="20"  value="">
    

    Which contains readonly=”readonly” which makes your input readonly due to which change event is not raised.

    Solution:

    1) On Page load, create a variable and store the startDate textbox value in it, use settimeout function to periodically check the textbox value with the variable and call a function to do your task on change of textbox.

    2) Once document is ready and dom is loaded, write code to set the textbox readonly property to FALSE and set disabled=true. and then bind and use the change event.

    $(document).ready(){function(){  your code here });
    

    3) Use jquery UI datepicker, its easy to use and implement.

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

Sidebar

Related Questions

I have used Ajax Calendar extender control (from here ) in my asp.net 3.5
I have created one user control to pick date from calendar. I used jquery
I am making a web page in that I have used Ajax calendar to
I have used the silverlight control in CRM 2011.It also published on form but
I have an asp.net calendar control that is used to select a date and
I have a JavaScript calendar in a .js file, which I used in an
I have used following line code to display time in 24-Hour format from the
I have Java code which queries calendar entries from a Lotus Notes Domino server
I have used TaskExecutor from spring and futures to get the future from the
My device used to have no problem returning the correct date from NSDate, but

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.