On 09/18/2009 03:00 PM, Jason Frisvold wrote:
> via IE8? It returns nothing. I tried adding:
>
> alert($H(originalRequest).inspect()); to the parent_response method and
> the alert never shows up when running via IE8.
I have discovered more.. Adding an onException block like this :
function update_parent() {
/** retrieve XML */
var root = 1;
var myAjax = new Ajax.Request(url,
{
method: 'get',
parameters: {parent_id: root},
onSuccess: function(response) {
alert('SUCCESS: ' + response.responseText);
},
onFailure: function(response) {
alert('FAILURE: ' + response);
},
onException: function(request,error) {
alert('EXCEPTION: ' + error.message);
},
onComplete: function(response) {
alert('COMPLETE: ' + error.message);
}
}
);
}
ends up with IE8 popping up an EXCEPTION: Access is denied. message..
Access to what, though?
>> --
>> david
--
---------------------------
Jason Frisvold
[email protected]
---------------------------
"I love deadlines. I like the whooshing sound they make as they fly by."
- Douglas Adams
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---