Skip to content

unable to get property 'createRange' of undefined or null reference #17

@riksof-zzlalani

Description

@riksof-zzlalani

File: TextboxList.js
Line# 411

var r = document.selection.createRange().duplicate();

I'm getting this error only in IE11

unable to get property 'createRange' of undefined or null reference

Since IE 11 has ended the support for the function document.selection

it says

[selection is no longer supported. Starting with Internet Explorer 11, use getSelection. For info, see Compatibility changes.]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions