i have one master page for my website. i place simple script tag before closing body tag. like
<body>
here will be content placeholder
<script src="js/jquery-1.2.6.min.js" type="text/javascript"></script>
</body>
in my content page i have script tag like
<script type="text/javascript">
$("a.foo").click(doSomething);
function doSomething()
{
return confirm("About to visit " + this.href + ", continue?");
}
</script>
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.
thanks