is it good to write multiple time(separate) <script type="text/javascript"> on one php page?
<p>i m using  many tiny java script code  at one php page, i always write java script code in  below style</p>

<pre><code>&lt;script type="text/javascript"&gt;
// &lt;![CDATA[ 
 ----code 1--------- 
// ]]&gt;
&lt;/script&gt;   

&lt;script type="text/javascript"&gt;
    // &lt;![CDATA[ 
    ----code 2-----
    // ]]&gt;
    &lt;/script&gt;

&lt;script type="text/javascript"&gt;
// &lt;![CDATA[ 
$(document).ready.(function(){
});
// ]]&gt;
&lt;/script&gt;
</code></pre>

<p>i want to know that is it good practice to write separate <code>&lt;script type="text/javascript"&gt;&lt;/script&gt;</code> on same page or 
we have to write all java script code under one time declaration </p>
