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

I've used attr()to do some localisation, i.e., add "Chapter" or "Kapitel" before an H1 chapter heading depending on the lang attribute on the HTML element. Useful stuff.


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

Search: