Just learning PHP
wrote a landing page in the landing page with JS to determine whether the password is empty prompt code now want to pass the password of the input account to the PHP verification page do not know what should be written please give us guidance
This is the code
The account number or password cannot be empty!
Account
Password
Reply to discussion (solution)
No refresh verification, search Ajax.
Jump to PHP side verification, submit the form directly.
No refresh verification, search Ajax.
Jump to PHP side verification, submit the form directly.
If you use form, JS will lose its function.
Not ah, first JS verification, and then upload to PHP verification.
Use form to pass directly to the PHP verification page
Or did I write the wrong one?
Use form to pass directly to the PHP verification page
Or did I write the wrong one?
function Check () {
Validation succeeded return true; failed return false;
}
Post the code to see