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

268
Vistas
when I clicked the submit button it should take the value of the description and write it down in another page how could I do it with JavaScript code

when I clicked the submit button it should take the value of the description and write it down on another page how could I do it with JavaScript code.

my HTML code and javascript so far

const idea = document.getElementById("Fidea")
const submit = document.getElementById("FSubmit")
const myText = document.getElementById("myText")

submit.onclick(
  localStorage['text'] = idea,
  mytext.innerHTML = localStorage['text'],
);
<form action="History.html" method="post" id="bodyForm" class="form">
  <input type="text" placeholder="Name" required><br>
  <input type="country" placeholder="Country" required><br>
  <input type="email" placeholder="Email Address" required><br>
  <input type="number" placeholder="Age" required><br>
  <input type="text" placeholder="description" required><br>
  <input type="submit" value="submit"><br>
</form>

My Other page

<body>
  <script src="History.js"></script>
  <p id="myText"></p>
</body>
about 4 years ago · Juan Pablo Isaza
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