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

154
Views
even if i give correct login username and password its not login. its showing login failed
function validate()
{
    var username=document.getElementById("username").Value;
    var password=document.getElementById("password").Value;
    if(username=="yogi"&& password=="venky")
    {
        alert("login succesfully");
        return false;
        window.open("");
    }
    else
    {
        alert("login failed");
    }
}

-i cannot login with correct login password. it showing alert login failed. what to do?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

it is value not Value

function validate()
{
    var username=document.getElementById("username").value;
    var password=document.getElementById("password").value;
    if(username=="yogi"&& password=="venky")
    {
        alert("login succesfully");
        return false;
        window.open("");
    }
    else
    {
        alert("login failed");
    }
}
about 4 years ago · Juan Pablo Isaza Report

0

You have typo in Value. It should be value

function validate()
{
    var username=document.getElementById("username").value;
    var password=document.getElementById("password").value;
    if(username=="yogi"&& password=="venky")
    {
        alert("login succesfully");
        return false;
        window.open("");
    }
    else
    {
        alert("login failed");
    }
}
<input id='username' />
<input id='password' />
<button onclick='validate()'>Send</button>

about 4 years ago · Juan Pablo Isaza 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!