i'm using AJAX to pull in HTML from an external HTML document (cause i don't wanna use iframes). thing is, the javascript within the <script> tags doesn't execute when pulled in.

i would like for the javascript to execute when the HTML is brought into the page.

even a simple...

<script type="text/javascript">

...doesn't work. and i've tried window.onload = function() {}, too.