i have a page that uses JQuery.load() to load main-panel's content.
<body>
<div id="main-panel">
// load content dynamically
</div>
<script src="myscripts.js"></script>
</body>
problem is, when the content arrives, it seems like it is not aware that there are functionalities inside myscripts..
so my work around is to reload again myscripts.js, and then all works fine.
jQuery.getScript('myscripts.js');
but the downside is, myscripts.js will be loaded multiple times.. how can i make ajax result content to be aware of my host page's script?
Thank you in advance.