Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

190
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda