The Difference Between RegisterStartupScript and RegisterClientScriptBlock
2004-02-11 17:42
507 查看
The main difference is that the RegisterStartupScript method places the JavaScript at the bottom of the ASP.NET page right before the closing
from:Using JavaScript Along with ASP.NET
</form>element. The RegisterClientScriptBlock method places the JavaScript directly after the opening
<form>element in the page.
from:Using JavaScript Along with ASP.NET
相关文章推荐
- Remoting with thread safe
- 在打印HTML页面时控制分页
- RSS of the Day: 新闻类Feeds
- Create ComboBox Client Control Using DHTML.
- 怎样用Javascript获得IE临时目录
- 初学Javascript之cookie篇(译)
- 用Javascript制作一个可自动填写的文本框(全文完)
- 用Javascript制作一个可自动填写的文本框(二)
- 用Javascript制作一个可自动填写的文本框(一)
- Effective C#-Working with Strings (翻译)
- How to handle IHTMLDocument2.onmouseover event in .NET
- 单页面判断浏览器是否接受 Cookies
- 实现Web页面内容动态改变的dhtml操作
- 无刷新随时取得当前服务器时间用户登陆时间,在线时间,空闲时间并自动退出的例子
- Effective STL 条款34
- Effective STL 条款33
- Effective STL 条款32
- Effective STL 条款30
- Effective STL 条款31
- 发表含有HTML代码的文章时,请保持HTML代码的完整