社区
ASP
帖子详情
想通过textarea 传输比较大的文件上去,但是textarea 里面不能接受什么样的字符?
joachern
2003-11-21 08:58:11
???????????????????????
...全文
44
10
打赏
收藏
想通过textarea 传输比较大的文件上去,但是textarea 里面不能接受什么样的字符?
???????????????????????
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
10 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
flying310
2003-11-21
打赏
举报
回复
应该close或free一下。
joachern
2003-11-21
打赏
举报
回复
我是直接做了个控件,然后读取控件的属性
xieyj
2003-11-21
打赏
举报
回复
没有释放掉对象,你创建的是什么对象。
set 对象名 = nothing
lang11zi
2003-11-21
打赏
举报
回复
no limited
joachern
2003-11-21
打赏
举报
回复
我从文件中写入后发现ie一直占用cpu的问题???
DeltaCat
2003-11-21
打赏
举报
回复
你自己不限制的话,TEXTAREA本身是没限制的
编程最光荣
2003-11-21
打赏
举报
回复
提供一些编码的函数,你可能有用!
function escape(byval str)
str=replace(str,"%","%"+hex(asc("%"))) 'must be first
str=replace(str,chr(255),"%"+hex(255))
str=replace(str,chr(11),"%"+hex(11))
str=replace(str,chr(9),"%"+hex(9))
str=replace(str,";","%"+hex(asc(";")))
str=replace(str," ","%"+hex(asc(" ")))
str=replace(str,"_","%"+hex(asc("_")))
str=replace(str,",","%"+hex(asc(",")))
str=replace(str,"'","%"+hex(asc("'")))
str=replace(str,"=","%"+hex(asc("=")))
str=replace(str,".","%"+hex(asc(".")))
str=replace(str,":","%"+hex(asc(":")))
str=replace(str,"\","%"+hex(asc("\")))
str=replace(str,"/","%"+hex(asc("/")))
str=replace(str,"?","%"+hex(asc("?")))
str=replace(str,"@","%"+hex(asc("@")))
str=replace(str,"+","%"+hex(asc("+")))
str=replace(str,"!","%"+hex(asc("!")))
str=replace(str,"-","%"+hex(asc("-")))
str=replace(str,"#","%"+hex(asc("#")))
str=replace(str,"$","%"+hex(asc("$")))
str=replace(str,"&","%"+hex(asc("&")))
str=replace(str,"*","%"+hex(asc("*")))
str=replace(str,"<","%"+hex(asc("<")))
str=replace(str,">","%"+hex(asc(">")))
str=replace(str,"""","%"+hex(asc("""")))
escape=str
end function
function unescape(byval str)
str=replace(str,"%"+hex(255),chr(255))
str=replace(str,"%"+hex(11),chr(11))
str=replace(str,"%"+hex(9),chr(9))
str=replace(str,"%"+hex(asc(";")),";")
str=replace(str,"%"+hex(asc(" "))," ")
str=replace(str,"%"+hex(asc("_")),"_")
str=replace(str,"%"+hex(asc(",")),",")
str=replace(str,"%"+hex(asc("'")),"'")
str=replace(str,"%"+hex(asc("=")),"=")
str=replace(str,"%"+hex(asc(".")),".")
str=replace(str,"%"+hex(asc(":")),":")
str=replace(str,"%"+hex(asc("\")),"\")
str=replace(str,"%"+hex(asc("/")),"/")
str=replace(str,"%"+hex(asc("?")),"?")
str=replace(str,"%"+hex(asc("@")),"@")
str=replace(str,"%"+hex(asc("+")),"+")
str=replace(str,"%"+hex(asc("!")),"!")
str=replace(str,"%"+hex(asc("-")),"-")
str=replace(str,"%"+hex(asc("#")),"#")
str=replace(str,"%"+hex(asc("$")),"$")
str=replace(str,"%"+hex(asc("&")),"&")
str=replace(str,"%"+hex(asc("*")),"*")
str=replace(str,"%"+hex(asc("<")),"<")
str=replace(str,"%"+hex(asc(">")),">")
str=replace(str,"%"+hex(asc("""")),"""")
str=replace(str,"%"+hex(asc("%")),"%") 'must be last
unescape=str
end function
tigerwen01
2003-11-21
打赏
举报
回复
默认是什么样的字符都可接收,除非你编写程序来限制。
clon
2003-11-21
打赏
举报
回复
通过textarea传递文件?不明白
xieyj
2003-11-21
打赏
举报
回复
你是不是想把文件的内容读取到 textarea 中
textarea
进行正则验证,输入任何
字符
,验证均不通过
两个输入框应用相同验证规则,下面的文本域无论如何
不能
通过。 问题所在: 经过一番折腾后终于找到原因,用element进行验证时保证验证名与绑定变量名相同。 第一个输入框两个名字都是gemsunm所以验证通过,第...
TextArea
提交失败(Tomcat 关于表单提交数据量过大导致数据丢失的问题)
使用ajax的方式提交
TextArea
内容过大无法提交的原因,使用POST提交也是一样,后台没接收到故怀疑是提交失败,郁闷ing。 随便上传了一个
字符
串 ,发现可以正常的提交,不用问肯定是提交的内容超过了限制。 ...
表单文本域<
textarea
>Tab键
不能
缩进文字的解决方案
textarea
文本域可以实现多行输入。但在实际敲文本
想
缩进时,使用Tab键得不到
想
要的缩进...用户
想
要的功能
不能
实现,这样的用户体验是
不能
接受
的,这也是我们
不能
容忍的。所以,我针对这一问题提出一个简单的解决方法。
textarea
中的换行、空格; 如何处理
问题情景:在我做一个博客系统,使用
textarea
提交数据到后台的时候,从brower提交到后台的过程中的时候,数据经过url编码。(当然也可以在B/S两端建立编码通道,默认是url编码),当默认url编码的时候,数据从...
ESP32 LVGL8.1 ——
textarea
文本区域 (
textarea
26)
文章目录一、
textarea
简介1.1概述 Overview1.2部分和风格 Parts and Styles1.3使用 Usage1.3.1 添加文字 Add text1.3.2 占位符 Placeholder1.3.3 删除
字符
Delete character1.3.4 移动光标 Move the cursor1.3.5 ...
ASP
28,391
社区成员
357,060
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章