Bulletproof HTML5 `<details>` fallback using jQuery

1 · Mathias Bynens · April 18, 2010, 3:39 p.m.
The HTML5 element is currently not natively supported in any browser natively supported in Chrome 12 and up. This makes it a little hard to guess how exactly this new element will behave, but reading the spec gives us a pretty good idea. While we wait for browsers to implement it, how about we create a fallback/polyfill for browsers who don’t understand (yet)?...