JavaScript not running on jsfiddle.net

后端 未结 4 1129
无人共我
无人共我 2020-11-22 09:42

The code below works on a live site but I can\'t get it to run on the site jsfiddle .

See this for example.

Can anyone tell me why it\'s not working on jsfid

4条回答
  •  天命终不由人
    2020-11-22 09:49

    I found the same issue and solve it by changing Load Type in the JavaScript settings:

    No wrap-in or No wrap-in in the drop down JavaScript settings menu. Refer the below image.

    JavaScript Settings Menu

提交回复
热议问题