what is the difference between $(document).ready(initialize) and $(document).on('ready',initialize)
<p>what is the difference between: </p>

<pre><code>  $(document).ready(initialize); 
</code></pre>

<p>and </p>

<pre><code>  $(document).on('ready',initialize); 
</code></pre>

<p>To me they seem to work in the same way.</p>
