Código PHP:
<html>
<head>
</head>
<body>
<script src="http://yui.yahooapis.com/2.9.0/build/yahoo/yahoo-min.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/event/event-min.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/connection/connection_core-min.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/connection/connection-min.js"></script>
<script>
var args = ['Med','10061986'];
var responseSuccess = function(o) {
alert("salio bien" + o.responseText);
/* Please see the Success Case section for more
* details on the response object's properties.
* o.tId
* o.status
* o.statusText
* o.getResponseHeader[ ]
* o.getAllResponseHeaders
* o.responseText
* o.responseXML
* o.argument
*/
};
var responseFailure = function(o) {
alert("aca entro" + o.statusText );
};
var callback = {
success:responseSuccess,
failure:responseFailure,
argument:args
};
//Initiate an asynchronous transaction.
var cObj = YAHOO.util.Connect.asyncRequest('GET','http://www.yahoo.com',callback);
</script>
ffddfd
</body>
</html>
comunication failure!
Espero que alguien me pueda ayudar,gracias!