Web Analytics Made Easy -
StatCounter How Do I Debug Javascript Embedded Inside A PHP AJAX? - CodingForum

Announcement

Collapse
No announcement yet.

How Do I Debug Javascript Embedded Inside A PHP AJAX?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How Do I Debug Javascript Embedded Inside A PHP AJAX?

    Hi,
    I am using Venkman javascript debugger. I am doing some AJAX coding. I have javascript inside a PHP file under the php code. The venkman debugger doesn't detect this piece of javascript code because it's not a .js file. I can't make it a seperate javascript file and put it right under the first .js in the html because the connection is async and I need to make this piece of javascript code to run only after the php code.

    Well, I can always print out the variable using document.write, but if I can find out a way to debug this using a debugger, it will be much easier along the way.

    Many thanks.
Working...
X