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

I can't remember why I did that, probably to keep the data separate from the rest of the code.


The technique used means that it always takes a while to load it, as it’s reloading it after every change, which is generally taking around two seconds for me. You make it still worse by using 'change' and 'keyup' events, so any key press (e.g. left/right arrow) triggers it. It should use the 'input' event.

Even if it were done as a separate page, it should still be shown or hidden via the CSS display property in order to avoid this reloading.


Thanks for the tip!




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

Search: