-
Changing content
Hello,
is it possible with Filter to change this:
<script type="text/javascript" src="script.js"></script>
into this:
<script type="text/javascript" src="script.js?v=1"></script>
If it possible, can u give me an info (example) about this?
Cant find an example about this.
Regards
-
Re: Changing content
Is this a javascript question, or a java question? Yes you can use dynamic urls to javascript files. You need to write a script to deal with the dynamic content and output the correct header information.
-
Re: Changing content
Its java question. I want that on respond javascript would be edited.
Urls would be converted from:
<script type="text/javascript" src="script.js"></script>
to
<script type="text/javascript" src="script.js?v=1"></script>
Just don't know how to do that.. Im thinking that this thing have to make filter, but aren't figured out how to do that..