复制代码 代码如下:
<SCRIPT language=JavaScript>
<!--
var Words;
function SetWords(word)
{
Words = word.value;
}
function SetNewWords(form)
{
var NewWords;
NewWords = unescape(Words);
form.NewWords.value = NewWords;
}
function SetNewWords1(form)
{
var NewWords;
NewWords = escape(Words);
form.NewWords.value = NewWords;
}
// -->
</SCRIPT>
<body>
<table align=center>
<TR>
<form method=post>
<TD align=center>
<P><textarea cols=65 name=Word onchange=SetWords(this) rows=5></textarea></P>
<P><input name=uncode onclick=SetNewWords(this.form) type=button value="解密">
<input name=encode onclick=SetNewWords1(this.form) type=button value="加密">
</P>
<P><textarea cols=65 name=NewWords rows=5></textarea></P>
</form>
</td>
</tr>
</table>
</body>
<SCRIPT language=JavaScript>
<!--
var Words;
function SetWords(word)
{
Words = word.value;
}
function SetNewWords(form)
{
var NewWords;
NewWords = unescape(Words);
form.NewWords.value = NewWords;
}
function SetNewWords1(form)
{
var NewWords;
NewWords = escape(Words);
form.NewWords.value = NewWords;
}
// -->
</SCRIPT>
<body>
<table align=center>
<TR>
<form method=post>
<TD align=center>
<P><textarea cols=65 name=Word onchange=SetWords(this) rows=5></textarea></P>
<P><input name=uncode onclick=SetNewWords(this.form) type=button value="解密">
<input name=encode onclick=SetNewWords1(this.form) type=button value="加密">
</P>
<P><textarea cols=65 name=NewWords rows=5></textarea></P>
</form>
</td>
</tr>
</table>
</body>
标签:
文本内容,转译,加密文本
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“通过js简单实现将一个文本内容转译成加密文本”评论...