javascript doesn't execute on window.load
<p>I have a javascript that executes within a element like : <code>&lt;a href="javascript:doSomething();"&gt;</code> but it doesn't execute on window.load , anyone knows why does that happen ?</p>
