Running Javascript on pages loaded via AJAX Tabs

Running Javascript on pages loaded via AJAX Tabs


Hello, I'm sure this problem has come up before, but I've searched and
I can't find an answer. I'm using jQuery UI v1.6rc2, and I have a
page that has tabs on it. Each tab will load a remote page. Here's
the code that I have:
            <div id="tabBar">
                <ul>
                    <li><a href="page1.html">One</a></li>
                    <li><a href="page2.html">Two</a></li>
                    <li><a href="page3.html">Three</a></li>
                </ul>
            </div>
The tabs work great, they load in the pages. However, each page has
JavaScript that has to be run, and it isn't running. How do I run the
JavaScript *after* the page has loaded? Can anyone shed some light on
this?