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

81
Visualizações
Invoking javascript to force a browser to return more than the first page on search

I use a forum which has a search feature, but it will only return the first page of search results (25 count). Someone gave me this piece of javascript which could be used to get a browser to return and access all of the pages of search results. I don't understand how that might work. I'm using Edge.

javascript:var frm = document.frmPage1; if (frm==null || frm.CtlPaging_selPage==null) alert("Not a TS search page"); else { frm.CtlPaging_selPage.value = prompt("choose page",2); frm.submit(); }

Tradestation user forum There are many things about this forum that are broken. It was designed for IE and there has been minimal updating. Users generally hate it.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This code is designed to work with a specific pagination script that already has somewhere in its design an option that turns paginated results on or off.

What this code is doing is checking first to see if document.frmPage1.CtlPaging_selPage exists, because that is where this form stores the variable that defines if it will paginate or not. If it finds this, it uses a prompt to set it to the value to "2" which tells the system to return unpaginated results, then it submits the form.

Most likely the forum either has a an input somewhere you are not seeing that allows you to turn off pagination, or the developer/admin who setup the forum is hiding this option on purpose, but did not actually delete it from his code.

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