remove appended script javascript

后端 未结 8 1606
执笔经年
执笔经年 2020-12-29 15:35

how can I remove my appended script because it causes some problems in my app.

This is my code to get my script

var nowDate = new Date().getTime();
v         


        
8条回答
  •  一整个雨季
    2020-12-29 16:09

    In case of JSONP and your use of jQuery, why not take full advantage of jQuery's JSONP loading facilities, which do the post-clean-up for you? Loading JSONP resource like this, doesn't leave a trace in the DOM:

    $.ajax({ url: 'http://example.com/', dataType: 'jsonp' })
    

    The

提交回复
热议问题