Skip to content
Advertisement

Tag: internet-explorer

Javascript – What is alternative to find function?

I am using find () function for one of my project. Official document https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find says that Internet Explorer is not supported. What else can I use? Answer A polyfill is a code that provides the functionality that you normally expect the browser to provide you natively. Here is the polyfill for Array.find

edge how to enable resizeable about the popup window

I used window.showModalDialog(url,windowName,status)to open a popup window on IE and the popup window can’t resizeable. The showModalDialog doesn’t work on Edge ,so I use window.open(url,windowName,status) to replace it on Edge,but the resizeable=no option of window.open(url,windowName,”resizeable=no”) does’t work on Edge. How can I enable my popup window resizeable with window.open() on Edge? Answer The showModalDialog() method is obsolete. For window.open(), IE

Alternative version for Object.values()

I’m looking for an alternative version for the Object.values() function. As described here the function is not supported in Internet Explorer. When executing the following example code: It works in both, Firefox and Chrome, but throws the following error in IE11: Object doesn’t support property or method “values” Here you can test it: Fiddle. So, what would be a quick

Iterating through FormData in IE

I’m using FormData to send information back to the server. In some cases however I need to read out the data before I send it. Chrome allows you to iterate through the collection but IE does not supply the same methods. The code below works in Chrome: JS Fiddle Does anyone know how to achieve the same result in IE?

How to load a script only in IE

I need a particular script to be triggered in Internet Explorer browsers Only! I’ve tried this: Unfortunately this actually stops the script from being loaded. EDIT: For everyone asking why I need this: IE makes scrolling extremely jumpy when using some animations. In order to address this I need to implement a script that provides smooth scrolling to IE. I

Advertisement