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

136
Views
why my submit button not show page isn't available after clicking

Hi I have run this code and its working well but when i click on submit button it doesn't show page isn't available . how do I get page isn't available after clicking submit button

<

html lang="en">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content ="width=device-width, initial-scale=1.0">
            <meta http-equiv="X-UA-Compatible" content="ie=edge">
            <title> practice</title>
    </head>
        <body>
            <h1><b>Welcome to the your page.</b></h1>
            <form  action="/" name="myForm" method="post" onsubmit="return validateForm()">
             
             
             <div id="name">
            What is your name?:
            <input  type="text" name="fname"  placeholder="Required" required> 
            <span class ="formerror"></span>
            </div> 
            <input type="button" name="mybutton" value="Submit" >
        strong text
        </form>
        </body>
    </html>
about 4 years ago · Santiago Trujillo
3 answers
Answer question

0

I don't know what did you really mean by "get page isn't available". But to make the form submit correctly you have to replace

<input type="button" name="mybutton" value="Submit" >

with this:

<input type="submit" value="Submit"> 

The input type should be submit. Not button.

Hope this helps.

about 4 years ago · Santiago Trujillo Report

0

you can replace

<form  action="/" name="myForm" method="post" onsubmit="return validateForm()">

to

<form  action="#" name="myForm" method="post" onsubmit="return validateForm()">

Hope it works:)

about 4 years ago · Santiago Trujillo Report

0

Try this code

<input type="submit" name="mybutton" value="Submit" >
about 4 years ago · Santiago Trujillo Report
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!