cancel
Showing results for 
Search instead for 
Did you mean: 

Do you know why newer Firefox prints, but won't recognize my echoed-back AJAX/PHP scripts?

Highlighted
New Contributor

Do you know why newer Firefox prints, but won't recognize my echoed-back AJAX/PHP scripts?

When I echo back echo"<script>alert(\"test\");</script>Hello World", and insert it (.responseText) via innerHTML, the script is there to see and the Hello World shows up. But the script won't run and is not recognized (firebug) even when I try to manually run it. This same same setup used to work fine with an older version of Firefox and with the current version of Safari. It does not work with current versions of chrome or opera.