Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

276
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!