Jquery/JS to Rewrite/Rerun Javascript Code?

Right now I’m using jquery to replace HTML inside a div with an iframe that has an external JS like so

That is my only solution to getting the javascript to rewrite and run again while user on page. Is there a way to do it without rewriting an iframe?

So, every 45 seconds, re-add, re-create or re-eval the external js? Whatever it’s called…

Make this run again on page:

Cheers!
Ryan

I’m also loading new content through ajax navigation, and in that content I have the same javascript. So I’d want it run coming out of the ajax return. Or does it just run when jquery places the script inside the div?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.