Hi,
I didn't write the following code and I am not a Javascript expert. So please excuse me if it seems to you a trivial bug. However here is the code:
jQuery.ajax({
type: barobj.method,
url: handler,
beforeSend: function (request) {
request.vote_id = vid;
...
},
complete: function (request, textStatus){
jQuery('#actor').filter("[title='"+request.vote_id+"']")
...
},
It is running fine in FF, Chrome, Safari but not (surprise?) in IE7 & IE8.
The exception is Error: Object doesn't support this property or method at line request.voteid = vid
After some debugging, I found out that in FF, request has type XMLHttpRequest whereas in IE 7 & 8, it has type IXMMHttpRequest
So what are the reasons of the exception? And how can I solve it in a way that I can get back the vote_id value in the onComplete event?
Thank you very much,
Fabien.