Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
PHP Skipping JavaScript
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NSA" data-source="post: 178253" data-attributes="member: 10034"><p>Hey guys,</p><p> </p><p>For some reason when I try the following:</p><p> </p><p>echo "<div id='AjaxResponse'><script type=\"text/javascript\">success();</script></div>";</p><p> </p><p>in PHP, no message is returned and all that is there when I use Inspect Element is:</p><p> </p><p>"<div id='AjaxResponse'></div>"</p><p> </p><p>Can somebody help please?</p><p> </p><p>EDIT: This only seems to happen when receiving the response through Ajax</p></blockquote><p></p>
[QUOTE="NSA, post: 178253, member: 10034"] 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 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
PHP Skipping JavaScript
Top