What's a good example for browser-specific code necessary when not using e.g. jQuery?
<p>I'm looking for a good example where a framework/lib like jQuery removes the need for browser-specific code. Please note that I'm not looking for an example where jQuery makes things just easier or nice but specifically something where the same code wouldn't work for all common browsers.</p>

<p>As it'll be used for university stuff and just meant to be an example a very simple thing would be great (otherwise I'd probably use <code>e.which</code> vs <code>e.keyCode</code>)</p>
