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

191
Vistas
Issue with getting my button codes to redirect users to another page?

I am having trouble with my code. I am using SharePoint 2013 and am trying to implement codes to get my buttons to redirect a user to another page. However, the buttons do not seem to function. Can anyone point out what I am doing wrong? Is it the code?

Example of the button codes:

<input id="btnSearch" onclick="return RedirectUrl();" type="button" value="Carian"/>  
 <input id="btnHome" onclick="return RedirectUrl(/itasset/_layouts/15/start.aspx#/Lists/it_list/AllItems.aspx);" type="button" value="home"/>  

Example of the page: enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Apparently you have a javascript function that redirects you to the new page. That function expects a variable as a string, so put the url between single quotes.

Try this:

RedirectUrl('/itasset/_layouts/15/start.aspx#/Lists/it_list/AllItems.aspx')

And ofcourse RedirectUrl() has no variable so it won't work.

about 4 years ago · Juan Pablo Isaza 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