DEV Community

Discussion on: Checking if an input is empty with JavaScript

Collapse
 
bgadrian profile image
Adrian B.G.

But ... but ... client side validation is now a HTML 5 feature, this means the browser can do it for you, no JavaScript is required!

For more info and examples see here developer.mozilla.org/en-US/docs/L...