(’ Hello there…!’)
I am doing login details project, I write the code but I need to make my login information be valid with any letter that telling success if I type the write information or failed otherwise I need help please… ? my code is below —>
<p>Enter your usename and password...</p>
<input type="text" id="login" name="login" size="20"></p>
<input type="password" id="password" name="password" size="20"></p>
<button type="button" name="form" value="button">Login</button>
<input type="button" value="Login" id="submit" onclick="validate();" />
It helps others in the forum if you post what you have tried. Even if it is flat wrong there are tons of experienced developers who can help steer you in the right direction.
Do I need to provide more info regarding to my question ?
You reference a function here but we have no clue what it is doing.
It would be nice to see that code
Yeah, that function has to display a letter telling me that the validation of inserted info is success or failed. Am I correct
I am more interested in the validate function than the onclick function. Without seeing your code for the validate function there isn’t a whole lot we can help you with.
What have you written for the validate function?