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

different things with the same name? O_O




It’s the name of the accordion and matches how radio buttons work. If you want to distinguish them, you’ll give them different ids.

I understand it, just wondering if it is good taste.

On a different note, trying to use an accordion this simplistic is quite terrible.

https://jsfiddle.net/8m0t5af6/

Or this?

https://jsfiddle.net/8m0t5af6/1/

Not very nice.




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

Search: