Hacker News new | ask | show | jobs
by Volpe 4744 days ago
Have your objects update from a form fields without having to select each element, assign it's inputted value to your JS object.

Turns 50 lines (if you're lucky) of JS into 0. (with about 10 characters more markup).