title: How do I programmatically click on an element in JavaScript?
body: <p>In IE, I can just call <code>element.click()</code> from JavaScript - how do I accomplish the same task in Firefox?  Ideally I'd like to have some JavaScript that would work equally well cross-browser, but if necessary I'll have different per-browser JavaScript for this.</p>