Skip to content Skip to sidebar Skip to footer

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:

<formid="myform"method="POST"action=<?php ($_SERVER["PHP_SELF"]); ?>>

For this:

<formid="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"