会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Happiness is a Choice
博客园
首页
新随笔
联系
订阅
管理
2010年2月19日
JQuery常用方法一览
摘要: Attribute:$(”p”).addClass(css中定义的样式类型); 给某个元素添加样式$(”img”).attr({src:”test.jpg”,alt:”test Image”}); 给某个元素添加属性/值,参数是map$(”img”).attr(”sr...
阅读全文
posted @ 2010-02-19 17:30 hunk
阅读(139)
评论(0)
推荐(1)
2008年8月5日
C# 判断字符中是否包含中文
摘要: public static bool ISChinese(string strWord) { string strRex =@"[\u4e00-\u9fa5]"; return System.Text.RegularExpressions.Regex.IsMatch(strWord, strRex); }
阅读全文
posted @ 2008-08-05 14:04 hunk
阅读(1032)
评论(0)
推荐(0)
公告