I have a (hopefully) simple question.
I'm using ajax to update a DIV on my current page. Within what's being inserted into the div is a script block that defines a variable. Within FF, I can access the variable, but IE doesn't see the var. Do I need to eval the returned code in some way for IE to recognize the variable?
As a simple example, if my ajax call returns this snippet of code and gets inserted into the div, I get an alert in FF but not in IE:
<script language='JavaScript' type='text/JavaScript'> alert('Foo!'); </script>