Hi, i've got this:
<script type="text/javascript" src="http://xy.com/something.js"></script>
in my php/html file. It includes the whole something.js file. In this file, there are lines like with "document.write..." that are writing some text on my page.
Is it possible to replace a string that is included from this js file in my php document? I can't change the js file (I don't have access to it).
More information:
The .js file looks like this:
...
var msg = '';
msg +='<b>mystring1</b><br/><i>mystring2</i>';
document.write(msg);
...
My php file includes the js file. I wanna change the mystring2 to myteststring in PHP. Is this possible? How? Thanks.