Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
Getting/setting value from Jquery UI Datepicker returns undefine from chrome extension

I'm using chrome extension to automate my few tasks, one of them is to select the date from datepicker. but i'm unable to perform actions on Jquery UI datepicker by using its methods such as: $(".hasDatepicker").datepicker("setDate", new Date("01/03/2022")); or getting date: $(".hasDatepicker").datepicker("getDate"); i display the result in console and it returns undefine. Inside manifest file, i also included the jquery-ui.js file, here it is:

{
    "manifest_version": 3,
    "name": "Auto Cart",
    "version": "1.0",
    "content_scripts": [
        {
            "matches": [
                "https://www.billetterie-parismusees.paris.fr/*"
            ],
            "js": [
                "jquery.js",
                "jquery-ui.js",
                "content.js"
            ]  
        }
    ],
    "action": {
        "default_popup": "popup.html"
    },
    "permissions": ["storage","activeTab"]
}

Important: I can get and set values of datepicker from console but it doesn't work from content-script.js file. Can anyone pls help me in resolving this issue?

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!