Ok, so I'm working on part of a larger project, and in trying to debug one aspect, I've got a small test file to work with.<BR><BR>The code is practically identical (all important aspects match word ...
FWIW, the ASP.Net function Page.RegisterStartupScript places the registered script at the bottom of the page, after all controls. That seems like a logical place to do it since, as you note, the JS ...