html

来源:互联网 发布:红中计划软件 编辑:程序博客网 时间:2024/03/29 00:13

1。网页文本编辑框<TEXTAREA>高度随内容变化

<TEXTAREA COLS=27 onPropertyChange="this.style.posHeight=this.scrollHeight"> </TEXTAREA>

 2。<meta ...>网页自动刷新

<META HTTP-EQUIV="Refresh" CONTENT="0; url=xxx.htm">

3。

文件下载的 HTTP Header

以 ASP 为例:

<%
Response.ContentType = "text/plain"
Response.AddHeader "Content-disposition", "attachment; filename=aaa.txt"

Response.write "...."
%>

原创粉丝点击