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

You could probably write a library that did smart renaming of id's.

For example, <label id="R_../../checkbox1+_label"> would be renamed to the id of the first checkbox on the parent's parent with _label appended to it. The library could be smart enough to only recognize the R_ prefix as needing to be renamed.

Not saying that you should do that, just that you could.



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

Search: