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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:41:44+00:00 2026-06-01T18:41:44+00:00

After clicking on input field the datepicker does not popup. $(document).ready(function() { var sds

  • 0

After clicking on input field the datepicker does not popup.

$(document).ready(function() {
         var sds = document.getElementsByClassName("f_sd");
         for(var i = 0; i < sds.length; i ++){
                sds[i].id = i+":sd";
                 var id = "#"+i+":sd";
                 $(id).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-01T18:41:45+00:00Added an answer on June 1, 2026 at 6:41 pm

    Problem is here

    sds[i].id = i+":sd"; 
    

    control id should not contain :

    JSFiddle without : in control id http://jsfiddle.net/QsgNF/1/

    JSFiddle with : in control id http://jsfiddle.net/QsgNF/2/

    You can see that the first fiddle without : is giving desired output where as the second fiddle is failing.

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

Sidebar

Related Questions

A user types words into an input field, after clicking the Go button, little
How to insert an image after the input field when using jQuery datepicker? I
Hibernate connections to MySQL my db are not closing. After clicking 10 times in
I have one input field and 2 buttons, each button performs a different function.
I am trying to open input file dialog after clicking on link. I made
I get a script that creates a form with an input file after clicking
After clicking on a UIView I want to take the user of my app
I want to send the form after clicking on the label next to checkbox.
I have an updatepanel which after clicking one button is submitting the page. The
How do I get to increment a textbox content after clicking on a button?

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.