Why jQuery does not work on my home (local) machine?

前端 未结 6 1949
失恋的感觉
失恋的感觉 2020-11-30 12:56

My question isn\'t so much about why a specific bit of jQuery I\'ve written isn\'t working as it is about no jQuery at all is working; not even working examples I\'ve copied

6条回答
  •  孤独总比滥情好
    2020-11-30 13:28

    The code is ok.

    The script is not downloading because, as you probably are not deploying the code, the browser will default to the file:// protocol.

    To solve it, add the http: at the script tag:

    
    

提交回复
热议问题