Created
September 4, 2009 13:28
-
-
Save web-zen/180880 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cObj = YAHOO.util.Connect.asyncRequest( | |
'POST', | |
'editor_db.php', | |
{ | |
success: function (o) { | |
if (o.statusText == 'OK') { | |
alert(o.responseText); | |
} else { | |
alert(o.statusText ); | |
} | |
}, | |
failure: function (o) { | |
alert(o.statusText); | |
} | |
}, | |
postData | |
); | |
--------------------------------------------------- | |
i get nothing from page editor_db.php when I do ....... | |
echo $_POST['postData']; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment