Hi,
I am trying to run this code:
function registerChallenge() {
var postBodyVars =
'loginName='+document.getElementById('name').value;
new Ajax.Request('ajaxRegisterChallenge.php', {
method: 'post',
postBody: postBodyVars,
onSuccess: function(transport) {
alert('test');
alert(transport.responseText);
}
},
onFailure: function(request) {
}
});
}
In ajaxRegisterChallenge.php I echo only a string. In FF and OP it
works great but in IE7 the type of the transport.responseText is
unknow and than the process stops.
I checked with HTTP Debugger if something with the response is wrong
but all ok.
I am using the current stable version of prototype.
Moreover the transport.statusText returns OK.
Thx for your help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---