Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Js determines whether a value is a number.
Js determines whether a value is a number.
Js has a function isNaN(val)// If it is a number, it returns false.

When in use

If (! Isnan (Waal))

Alert ("is a number");

} Otherwise {

Alert ("not a number");

}

Js authentication is not secure. If the browser prohibits the use of JavaScript, it is easy to skip authentication.

If simulated submission, it is easier to break through.

Hehe, be sure to use jsp to verify.