![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Js
hxy_go
这个作者很懒,什么都没留下…
展开
-
去除html标签的正则表达式
主要是去除标签对<>,正则表达式如下: <[^>]*>原创 2010-01-13 16:29:15 · 102 阅读 · 0 评论 -
简洁竖排Tab
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=2010-04-29 16:26:04 · 323 阅读 · 0 评论 -
AJAX 中文参数 需要编码
AJAX 中文参数 需要编码后传给服务端,然后在服务端用utf-8解码,因为ajax(post请求)默认是utf-8编码;如:jsajax.setParam("topic.content", encodeURIComponent(f["topic.content"].value));java:URLDecoder.decode(topic.getContent(), "utf-8"...原创 2010-01-31 16:25:31 · 95 阅读 · 0 评论