1,105,340 Community Members

xmlhttp.responseText = 1

Member Avatar
xuexue
Junior Poster
174 posts since Jul 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

this is my code in php:

<?php echo "Hi!"; ?>

this is my code in javascript:

alert(xmlhttp.responseText);

now, my problem is that the output displays: "1Hi!";
even though i will not display an output in php, still a "1" appends in the beginning of the alert box.

What could be the problem?

thanks in advance ^^,

Question Self-Answered as of 2 Years Ago
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article