quaffapint
Feb 13th 2007, 9:25 am
I'm trying to determine the best way to pass javascript code that includes a link to a different javascript file through an xmlhttp request.
For example, say I want to pass...
<script>
stuff
</script>
<script src="http://someserver.com/somescript.js></script>
...How would I pass that and execute it. Would an 'eval' be appropriate for this?
Thanks for any thoughts...:)
For example, say I want to pass...
<script>
stuff
</script>
<script src="http://someserver.com/somescript.js></script>
...How would I pass that and execute it. Would an 'eval' be appropriate for this?
Thanks for any thoughts...:)