Ignore javascript syntax errors in a page and continue executing the script

前端 未结 11 910
日久生厌
日久生厌 2020-12-02 18:21

I develop plugins for WordPress. It uses some jquery in the user side (themes) as a jquery plugin. The problem is, when there is an javascript error with other plugins made

11条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 18:46

    Perhaps you could try putting your js in an html object, so that it's executed in a separate page. That probably won't help much if the js on the main page wont run to interact with the object. Just something to play with.

提交回复
热议问题