Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Except that native forms are clunky and the validation is very basic. Javascript can save you some unnecessary requests to the server with quick & easy initial validation checks & allow you more control over the behavior of the page after form data submission (via xhr).

Javascript is also currently faster for animating, and can do a wider variety of animation.



I do not doubt the usefulness of JS, but...

so many blogs I've seen that require JS, when all they serve is text content...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: