jquery - how to append dynamic version number to javascript tag -
i have html file in loading multiple js files . need declare variable n append each of script tag. how can ? appending variable parameter
- this can done server side client side. safest way server side. set variable session containing current system date of server , add onto page.
- if wish client side, need script tags in code src attribute , append variable containing current date it. can call piece of code window.onload() or document.ready() per will.
Comments
Post a Comment