jaywhy13
01-02-2008, 05:55 PM
Say x in a XML Http Request Object ... meaning it's either XMLHttpRequest (firefox) or ActiveXObject (IE)
This line of code works in firefox...
x.someProp = "someValue";
alert(x.someProp);
But in IE I get "Object doesn't support this property or method"
I need to place a custom property on the object.
Is there any way I can do that in IE?
I've already tried ActiveXObject.prototype.someProp = "";
That doesn't seem to work in IE.
This line of code works in firefox...
x.someProp = "someValue";
alert(x.someProp);
But in IE I get "Object doesn't support this property or method"
I need to place a custom property on the object.
Is there any way I can do that in IE?
I've already tried ActiveXObject.prototype.someProp = "";
That doesn't seem to work in IE.