88
rated 0 times
[
90]
[
2]
/ answers: 1 / hits: 55257
/ 13 Years ago, wed, february 22, 2012, 12:00:00
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();
var url = val.redirect_uri + notify.js?nocache= + nowDate + &callback=dummy;
var script = document.createElement('script');
script.src = url;
document.body.appendChild(script);
Then I have an auto load function, that causes to create another element script.
I want to get rid of the previous element that was appended before another element is added.
More From » append