Regarding Place JavaScript code at bottom of page in asp.net
<p>i have one master page for my website. i place simple script tag before closing body tag. like</p>

<pre><code>&lt;body&gt;
here will be content placeholder 
&lt;script src="js/jquery-1.2.6.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;/body&gt;
</code></pre>

<p>in my content page i have script tag like</p>

<pre><code>&lt;script type="text/javascript"&gt;
$("a.foo").click(doSomething);
function doSomething()
{
 return confirm("About to visit " + this.href + ", continue?");
}
&lt;/script&gt;
</code></pre>

<p>but i want this script tag should be place at runtime just before the closing of body tag.
how could i do this....do i need to write any code ? please help me with best suggestion.</p>

<p>thanks</p>
