title: Jquery .ready() function not working
body: <p>Actually I am doing zendframework-2.0.3. according to zendframework-ZendSkeletonApplication-zf-release-2.0.3-0-g657a752 I added all the scripts but  <code>.ready()</code> not working. in my view page i added simply this code</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function(){
        alert('ok');
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>but it is not working but .click() and other functions working. this is the way I add scripts in the layout 
      
      
          
          headTitle('ZF2 '. $this->translate('Skeleton Application'))->setSeparator(' - ')->setAutoEscape(false) ?></p>
  
  <pre><code>    &lt;?php echo $this-&gt;headMeta()-&gt;appendName('viewport', 'width=device-width, initial-scale=1.0') ?&gt;
  
      &lt;!-- Le styles --&gt;
      &lt;?php echo $this-&gt;headLink(array('rel' =&gt; 'shortcut icon', 'type' =&gt; 'image/vnd.microsoft.icon', 'href' =&gt; $this-&gt;basePath() . '/images/favicon.ico'))
                      -&gt;prependStylesheet($this-&gt;basePath() . '/css/foundation.min.css')
                      -&gt;prependStylesheet($this-&gt;basePath() . '/css/foundation.css')
                      -&gt;prependStylesheet($this-&gt;basePath() . '/css/app.css')
                      ?&gt;
  
      &lt;!-- Scripts --&gt;
     &lt;?php echo $this-&gt;headScript()-&gt;prependFile($this-&gt;basePath() . '/js/html5.js', 'text/javascript', array('conditional' =&gt; 'lt IE 9',))
                                    -&gt;prependFile($this-&gt;basePath() . '/js/bootstrap.min.js')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/app.js', 'text/javascript')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/jquery.foundation.orbit.js', 'text/javascript')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/jquery.js', 'text/javascript')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/validation.js', 'text/javascript')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/jquery.foundation.alerts.js', 'text/javascript')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/jquery.foundation.forms.js', 'text/javascript')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/jquery.foundation.buttons.js', 'text/javascript')
                                    -&gt;prependFile($this-&gt;basePath() . '/js/date.js', 'text/javascript')
                                     ?&gt;
  
  &lt;/head&gt; 
  </code></pre>
  
  <p>please help me </p>