jQuery is not defined error
<p>Error in Jquery</p>

<p>In view file (index.php)</p>

<pre><code> &lt;script type="text/javascript" src="crosscut.js" &gt;&lt;/script&gt; 
 &lt;script src="jquery-ui.min.js" type="text/javascript"&gt;&lt;/script&gt;
 &lt;script type="text/javascript" src="mod-min.js" &gt;&lt;/script&gt;
 &lt;script type="text/javascript" src="jquery-min.js" &gt;&lt;/script&gt;
</code></pre>

<p>In Javascript file    </p>

<pre><code>$(document).ready(function() {
    $('#crossline').css('background-color','blue');
});

button = function() {
   // other code
}
</code></pre>

<p>I have included jquery-min.js in script and it is loaded on page loading. jquery-min.js all code loaded while inspecting through firebug .</p>

<p>If file may be corrupted ,So I tried live path of "http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" still not works.</p>

<p>If calling javascript function uses jquery works fine if ready function not set .</p>
