Setting headers in XDomainRequest or ActiveXObject('Microsoft.XMLHTTP')
- by bobthabuilda
I'm trying to do something like this:
xhr.setRequestHeader( 'X-Requested-With', 'XMLHttpRequest' );
For ActiveXObject('Microsoft.XMLHTTP') and XDomainRequest (IE8). I'm having no such luck finding it anywhere in microsoft documentation or even google. Any idea how I can achieve this?