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

122
Visualizações
How can I see the output of a javascript function in plain text?

I have a server with a static html page, the page only consists of a textarea field with id="outputarea"

When I visit my page I can see in the console that the Javascript file is loaded and working. I can see the output of the desired function when called in the console.

What I am currently doing is I visit my site with a selenium bot and execute this javascripyt

document.getElementById('outputarea').innerHTML = myFunction.whatever();

This shows me the output in text in the textarea.

So my question is this: How can I simple call for the javascript output by making a POST or GET request?

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

0

Maybe eval() is useful to you, good luck!, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval

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