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

105
Views
Obtener/establecer el valor de Jquery UI Datepicker devuelve undefine de la extensión de Chrome

Estoy usando la extensión de Chrome para automatizar mis pocas tareas, una de ellas es seleccionar la fecha de datepicker. pero no puedo realizar acciones en Jquery UI datepicker usando sus métodos como: $(".hasDatepicker").datepicker("setDate", new Date("01/03/2022")); o obteniendo la fecha: $(".hasDatepicker").datepicker("getDate"); Muestro el resultado en la consola y devuelve undefine. Dentro del archivo de manifiesto, también incluí el archivo jquery-ui.js, aquí está:

 { "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"] }

Importante: puedo obtener y establecer valores de datepicker desde la consola, pero no funciona desde el archivo content-script.js. ¿Puede alguien por favor ayudarme a resolver este problema?

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!