Loading jQuery into chrome-extension

前端 未结 2 605
旧时难觅i
旧时难觅i 2020-11-30 10:06

I\'m trying my first step into the magical world of Chrome Extensions. Now i\'ve build up my manifest trying to load jquery.

{
    \"name\": \"Test Extension         


        
2条回答
  •  情歌与酒
    2020-11-30 10:39

    $.("#test").html("Foo!");
    

    should be

    $("#test").html("Foo!");
    

    The error you are getting is consistent with this part of the code being incorrect.

提交回复
热议问题