I am looking for the way to solve my problem. Suppose the following scenario:
The content of samplecode.js is like this:
// code here.
When the script is run, some parameters are returned from server and is write into your page. Like: (document.write(parameters) ).
So now You want to use this script more than one time in your webpage. Then each time is run separately and the parameters are returned in separately call. Like:
View Complete Post