0

Is there a way to reload JavaScript within a DIV block without doing a page refresh?

Thanks!

1 Answer 1

1

You can evaluate the javascript, say in a string

 var script = "...";

by calling the eval function

 eval(script);
Sign up to request clarification or add additional context in comments.

2 Comments

really cool! it works... the only issue is it sometimes doesn't parse out spaces correctly at least in firefox.
You might start another question and paste the string of code you are using with eval() and what the result is.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.