scripts is not working on load() function
<p>i have this script on the page where i want to load the file</p>

<pre><code>&lt;SCRIPT type="text/javascript"&gt;
$(function() 
{           
        $("#storefront").click(function () {
            alert("POTANGINA");
           $(".centerdiv").load("storefront_a.php");
       });  

});             
&lt;/SCRIPT&gt;
</code></pre>

<p>and i have this script on the page i want to load (storefront_a.php)</p>

<pre><code>&lt;SCRIPT type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"&gt;&lt;/SCRIPT&gt;
&lt;SCRIPT type="text/javascript" src="http://cssglobe.com/lab/easypaginate/js/easypaginate.js"&gt;&lt;/SCRIPT&gt;
&lt;script type="text/javascript"&gt;

    jQuery(function($){

        $('ul#items').easyPaginate({
            step:5
        });

    });    

&lt;/script&gt;

&lt;style&gt;
        #page li {
          display: inline;
          position: relative;
          width: 11em
          margin:10px; 
          padding:10px;
        }
        #page li li{ display: block; height: 1.5em;}

&lt;/style&gt;


&lt;div id = "page"&gt;       
&lt;ul id="items"&gt;
    &lt;li&gt;Page 1&lt;/li&gt;
    &lt;li&gt;Page 2&lt;/li&gt;
    &lt;li&gt;Page 3&lt;/li&gt;
    &lt;li&gt;Page 4&lt;/li&gt;
    &lt;li&gt;Page 5&lt;/li&gt;
    &lt;li&gt;Page 6&lt;/li&gt;
    &lt;li&gt;Page 7&lt;/li&gt;
    &lt;li&gt;Page 8&lt;/li&gt;
    &lt;li&gt;Page 9&lt;/li&gt;
    &lt;li&gt;Page 10&lt;/li&gt;
    &lt;li&gt;Page 11&lt;/li&gt;
    &lt;li&gt;Page 12&lt;/li&gt;
    &lt;li&gt;Page 13&lt;/li&gt;
    &lt;li&gt;Page 14&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
</code></pre>

<p>when i ran the storefront_a.php directly from the localhost it worked. but when i call it using load() it is actually loading but the javascript did not worked. PLease help me thanks</p>
