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

182
Vistas
Script stopped working without any recent code changes on the site -help for newbie please

I have inherited a site and don't really understand the set-up!

The scripts on the site were all working ok then we are suddenly getting script errors and the script that entered a date in a field has stopped working.

this is at the top of the page:

    <script type="text/javascript">
    setURLs(//domainname/base/administration/);
    </script>

I am getting this error: Unexpected end of input - what do I need to do to fix that?

Then this script:

    <script>DateInput('Payment_Date', true, 'yyyy-mm-dd','2022-07-20')</script>

is giving the error DateInput is not defined and the field is not been added to the form - how do I sort that?

Thanks in advance!

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

from the two lines of code that you shared I noticed a problem with

    <script type="text/javascript">
    setURLs(//domainname/base/administration/);
    </script>

the // means comment so in order to make the function work you need to add some ' around it

like this

    <script type="text/javascript">
    setURLs('//domainname/base/administration/');
    </script>
about 4 years ago · Santiago Trujillo Denunciar
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