The Difference Between RegisterStartupScript and RegisterClientScriptBlock

    The main difference is that the RegisterStartupScript method places the JavaScript at the bottom of the ASP.NET page right before the closing </form> element. The RegisterClientScriptBlock method places the JavaScript directly after the opening <form> element in the page.

from:Using JavaScript Along with ASP.NET
posted @ 2004-02-11 17:42  dudu  阅读(2114)  评论(1编辑  收藏  举报