如果<script > alert(encodeURI('好好学习'))</script>, 那么将会弹出“好好学习”的utf编码,现在问题是如何把这个编码取出来?用什么方式???
解决方案 »
- IE seesion cookie莫名丢失的问题
- the requested operation has failed
- realone网页播放器 。。卡,在线等
- 如何根据UID的字段的值来显示留言?300个带留言功能的网页
- 登陆刷新页面
- 现在工资这么低,没人想过跟鬼佬做项目吗。
- js的问题哦,不想去JS版块了,图个方便
- 求一正则表达式,取一段字符串中,以<table开头,中间有一特殊字符串,结尾以</table>结束的一段
- 关于一段正则表达式。。。
- Warning: Undefined variable: **** in *********
- 请教两个站点(php/asp)共享用户信息问题?
- 我的电脑网页不能正常显示是怎么回事?
$s = "<script > document.write(encodeURI('好好学习'));</script>";
echo $s;
?>
<input type="text" value="" id="id" style="width:600px;"><script > document.getElementById('id').value=encodeURI('好好学习');</script>
js->http request->php->http response->js