If you're using $.load, put any _javascript_ you need evaluated in <script> tags in the updated content. $.load automagically eval's <script>'s.

So have something like:
$(document).ready(function() {
  init();
});

function init() {
  // Bindings etc
}

And then in your ajax content add:
<script type='text/_javascript_'>
init();
</script>

Alternatively you can use callbacks if your using $.get, $.post etc.
eg. $.get("url", function() {init();});

Hope this helps.

Chris
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to