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

111
Views
Create a country drop-down field

While solving problem I got error after writing code: chrome headless Alert function function should generate a alert FAILED TypeError: Cannot read property 'value' of null please help to solve this.

I tried the following code:

function runlist(){

  var name=document.getElementById("myname").value;
  var phone=document.getElementById("myphone").value;
  var country=document.getElementById("mycountry").value;
  var email=document.getElementById("mymail").value;
  var result = name + ','+phone+','+country+','+email;

  alert(result);  
  return result;
}
about 4 years ago · Santiago Gelvez
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!