Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

前端 未结 6 1542
星月不相逢
星月不相逢 2020-12-05 09:30

I\'m getting this error and it is originating from jquery framework. When i try to load a select list on document ready i get this error. I can\'t seem to find why i\'m gett

6条回答
  •  醉梦人生
    2020-12-05 09:40

    It fails "when trying to execute the function manually" because you have a different 'this'. This will refer not to the thing you have in mind when invoking the method manually, but something else, probably the window object, or whatever context object you have when invoking manually.

提交回复
热议问题