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

> Why the fuck would anyone ever want that? What's so hard about simply changing the innerText or inserting elements or whatever?

It's so that you have the page reflecting your data at all times.

The browsers should have been written this way, instead of having byzantine update functions with all forms and a pair of *Text to rule them all. But creating it in Javascript is a really bad idea.



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

Search: