社区
ASP
帖子详情
想通过textarea 传输比较大的文件上去,但是textarea 里面不能接受什么样的字符?
joachern
2003-11-21 08:58:11
???????????????????????
...全文
55
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所以验证通过,第...
highlight-within-
textarea
:在
textarea
中实现文本高亮
highlight-within-
textarea
:在
textarea
中实现文本高亮 在Web开发中,我们经常...highlight-within-
textarea
是一个强大的 jQuery 插件,它通过模拟的方式实现了在
textarea
中的文本高亮功能。 项目介绍 highlight-wi...
TextArea
提交失败(Tomcat 关于表单提交数据量过大导致数据丢失的问题)
使用ajax的方式提交
TextArea
内容过大无法提交的原因,使用POST提交也是一样,后台没接收到故怀疑是提交失败,郁闷ing。 随便上传了一个
字符
串 ,发现可以正常的提交,不用问肯定是提交的内容超过了限制。 ...
表单文本域<
textarea
>Tab键
不能
缩进文字的解决方案
textarea
文本域可以实现多行输入。但在实际敲文本
想
缩进时,使用Tab键得不到
想
要的缩进...用户
想
要的功能
不能
实现,这样的用户体验是
不能
接受
的,这也是我们
不能
容忍的。所以,我针对这一问题提出一个简单的解决方法。
textarea
字数限制,超出无法输入
业务需求 最近做打印页面,输入字数过多...
textarea
cols="75" rows="11" style="border: none;" id="healthGuide1">${jmExaminationFeedback.healthGuide}</
textarea
> <div>您还可以输入 <span id
ASP
28,407
社区成员
356,948
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章