Having Trouble Using JavaScript Or Ajax And Text Display The Same Page
I'm having mistakes do not know where error Having trouble using JavaScript or Ajax and text display the same page Please help me in the wrong reform
Solution 1:
Add following line in your html page
<div id='urlBox'></div>
Solution 2:
It is normal your semicolon after xhr.open("POST","/upload.php",true)
?
Solution 3:
You can try replace this line:
<form id="myform" method="POST" action=<?php ($_SERVER["PHP_SELF"]); ?>>
For this:
<form id="myform" method="POST" action="<?php ($_SERVER["PHP_SELF"]); ?>">
The differece is in your action. You're not using ""
Post a Comment for "Having Trouble Using JavaScript Or Ajax And Text Display The Same Page"