Hi,
I was getting “object doesn’t support this property or method jquery” error when I was initializing
var request = new XMLHttpRequest();
Reason :-
- This is a problem with Internet Explorer browser (ActiveX to be precise)
Fix :-
- If the browser is detected as Internet Explorer, load ActiveX instead of XMLHttpRequest
- Below condition check would solve the problem
var request;
if ($.browser.msie) {
request = new ActiveXObject(“Microsoft.XMLHTTP”);
} else {
request = new XMLHttpRequest();
}
🙂
![[Step by Step] Beginner : Create a PCF control and add it to a custom page](https://rajeevpentyala.com/wp-content/uploads/2024/12/image-49.png)
![[Step by Step] Configure and run 'Pipelines in Power Platform'](https://rajeevpentyala.com/wp-content/uploads/2024/08/image.png)
![[Step by Step] Using Custom Connectors in Copilot Studio](https://rajeevpentyala.com/wp-content/uploads/2024/10/record-ezgif.com-video-to-gif-converter-7.gif)
Leave a comment