I often see that 'src' property in script tag has 'arguments/parameters' (I am sorry if I am not using the proper terminology, this is why I am asking). I would like to know:
- What is the proper name?
- Why is this done this way?
- Where is it used?
- Is there any advantage by using/doing it this way?
Here it is an example.
<script type='text/javascript' src='root/somedir.js?arg=somevalue'></script>