NSA
sudo apt-get thefuckout.tar.gz
- Dec 9, 2011
- 715
- 86
Hey guys,
For some reason when I try the following:
echo "<div id='AjaxResponse'><script type=\"text/javascript\">success();</script></div>";
in PHP, no message is returned and all that is there when I use Inspect Element is:
"<div id='AjaxResponse'></div>"
Can somebody help please?
EDIT: This only seems to happen when receiving the response through Ajax
For some reason when I try the following:
echo "<div id='AjaxResponse'><script type=\"text/javascript\">success();</script></div>";
in PHP, no message is returned and all that is there when I use Inspect Element is:
"<div id='AjaxResponse'></div>"
Can somebody help please?
EDIT: This only seems to happen when receiving the response through Ajax