How to programmatically create a <script> tag and a script inside an ASP.NET page?
<p>From time to time I run into situation in which I could solve a given problem by dynamicly creating piece of JavaScript, spesific to that instance of the page, that I could then insert in the final markup. Usualy this is because I want some behaviour to happen on the client side, rather than on the server side and creating a static JavaScript isn't an option.<br />
For example, when <a href="http://stackoverflow.com/questions/625524/how-to-submit-a-files-original-path-and-filename-without-submitting-the-file-its">trying to submit a files original path without submitting the file itself</a>, when trying to do it for multiple dynamicly created components.</p>

<p>How would you recommend me to create a <code>script</code> tag and populate it with, for example, JavaScript?</p>
