Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    May 2007
    Location
    Manteca, CA
    Posts
    219
    Thanks
    4
    Thanked 0 Times in 0 Posts

    ajax'ed php code - echo puts up alert box?

    nevermind... the alert, was, of course, my own...

    For 6+ months I've been writing code that includes lots of php ajax responding code that would return answers by doing an echo. The resulting string would magically end up in "http.responseText" for access by javascript code. Out of apparently nowhere (I know there's no such thing in programing but it feels that way sometimes), instead of an "echo" placing the string in the http object, it's being displayed on the screen in the form of an alert box! What's up with that? I crawled through the code and there's nothing I can see that's making this particular php ajax responder behave this way. I can even change the text in the echo statement to verify that the echo statement is, indeed, what's putting up the alert. Ok, what am I missing?!?
    Last edited by snoodle; 01-07-2008 at 12:47 AM. Reason: I'm an idiot


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •