1<span onclick="event.stopPropagation(); alert('you clicked inside the header');">something inside the header</span>
1// "event" is not universally supported, so instead grab the first
2// argument passed through the onclick handler and call
3// "stopPropagation()" on it
4<div onclick="(arguments[0] ? arguments[0].stopPropagation() : false);">...</div>