Javascript Prop function not work in IE 11

I am trying to check a checkbox but it’s not working in IE11. It works fine in Chrome. Can someone explain to me why this code doesn’t work on these browsers? // 01_certify_01 $(function() { $(“#calCarStartBtn”).click(function() { window.location.href = ‘./src/views/01_certify_01.php?mode=calc’; }); $(“#histCalCarBtn”).click(function() { window.location.href = ‘./src/views/01_certify_01.php?mode=hist’; }); var textObj = $(“.textarea”); var warningObj = $(“.warning-box”);…

finding within array of object angular 6/typescript/javascript

I am having below code in my HTML template of my angular 6 application. <div *ngIf =”conversation.participants[conversation.updatedBy.toLowerCase()].firstName”>somedata </div> basically I am trying to search within object of participants array by updatedBy value anad see its matching object has firstName property not null or not but it gives me error that firstName is not defined. I…

UTF-16 byte array from file in javascript?

I have a file that’s encoded with UTF-16 and the encoded string has characters such as à and ÷. The code I use to read the file is: var reader = new FileReader(); reader.readAsArrayBuffer(real_file_button.files[0]); reader.onloadend = function (evt) { if (evt.target.readyState == FileReader.DONE) { var arrayBuffer = evt.target.result, array = new Uint8Array(arrayBuffer); for (var i…