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

I do something a little bit similar with DOM interaction in JS, for example button ".btn_pdf_docs" shows all ".pdf_docs" elements. I consider the code to implement this more readable than a bunch of events binding.


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

Search: