Integrate jQuery into a electron app

后端 未结 3 1685
灰色年华
灰色年华 2021-02-09 16:49

I\'m trying to add jquery functionality to a desktop app written in electron Using the electron-quick-start repo i\'m adding the downloaded jquery file to the main.html

3条回答
  •  滥情空心
    2021-02-09 17:21

    While using electron, some additional symbols are also inserted into DOM causing problems. So, you can use jquery as follow

    
    

    Notice the code inside "onload".

提交回复
热议问题