dynamic scripting with AJAX
When the file just has the function by itself, no script tag, no root or xml tag, I can get the responseText and eval() it and everything works well. However, if I have the script tag it does not and I get a scripting error.
I wanted to know what is the correct/standard way of handling this.
Thank you in advance for your help.