0

Getting below error when I was trying to drag.

  event.target.classList.add('drop-active');

" Unable to get property 'add' of undefined or null reference"

I have used polyfill classList.js to fix this but it doesn't work.

Please help me on this. I am getting this error only in ie9 browser.

AK47
  • 71
  • 7
  • IE9 doesn't support `classList`. You can patch it though. –  Nov 14 '14 at 01:32
  • ...you have a `polyfills` tag, so it would seem you already know what to look for. –  Nov 14 '14 at 01:35
  • Hi @Squint, Thanks for your quick replay. I have used classList.js polyfill but still its not working. Let me know if there is any other way to fix this. – AK47 Nov 14 '14 at 17:35
  • If the polyfill isn't working, then you're likely applying it incorrectly. You'll need to show what you're doing. –  Nov 14 '14 at 17:44
  • 1
    Hi, This is fixed now, thank for your help. – AK47 Nov 16 '14 at 21:48
  • If it's fixed, can you add the solution here so others can benefit from it please? I'm having the same problem. – tmthyjames Aug 24 '15 at 20:47

0 Answers0