Removing script tag on ajax load
Hello all,
I'm using ajax call like below -
$.ajax({
url: "/page/test.html",
success: function(data){
$("#something").html(data);
}
});
The first line of this file is:
<script type="text/javascript" language="JavaScript" src="/js/jquery.js"></script>
I currently don't have control over this file and want to remove this script tag. I've tried lots methods and still I can't seem to remove the script and the file each time gets downloaded on the net tab in firebug and this causes massive conflicts with my other code. Is there anyway I can kill this js being loaded? Or at least change its location to download something that is safe.
Thanks in advance,
Adam