Can't find variable: $

后端 未结 2 1555
无人及你
无人及你 2021-01-20 00:51
var scriptFile = $(tempNode).attr(\"customJScriptSrc\");

When passing this i get

“Reference Error: Can’t find variable: $”

2条回答
  •  不知归路
    2021-01-20 01:19

    add this script:

    
    

    at top of the document(added before your javascript code).

    or download the library and reference it in you code.

提交回复
热议问题