Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

106
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda