会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
还是低估了他!
生在江湖,而江湖却没有我的传说。
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
2
2012年8月17日
设置mysql的用户权限
mysql> grant all privileges on *.* to cc@ '10.0.0.1 ' identified by 'password '; Query OK, 0 rows affected (0.02 sec)
Read More
posted @ 2012-08-17 10:16 为啥
Views(111)
Comments(0)
Diggs(0)
2011年3月29日
Net MVC RedirectToAction
return(RedirectToAction("Index", new { message = "hi there!" })); 重新提交给Index action 需要参数 message , new { message=" 参数message 值"}public ActionResult Index(string message) { } 带 消息 重定向 消息存在tempData[] 里。[AcceptVerbs(HttpVerbs.Post)] public ActionResult Index(string submitB
Read More
posted @ 2011-03-29 14:34 为啥
Views(2528)
Comments(1)
Diggs(0)
2011年3月18日
javascript location 对象
location对象属性图示location属性hash 属性 -- 返回URL中#符号后面的内容host 属性 -- 返回域名hostname 属性 -- 返回主域名href 属性 -- 返回当前文档的完整URL或设置当前文档的URLpathname 属性 -- 返回URL中域名后的部分port 属性 -- 返回URL中的端口protocol 属性 -- 返回URL中的协议search 属性 -- 返回URL中的查询字符串assign() 函数 -- 设置当前文档的URLreplace() 函数 -- 设置当前文档的URL,并在history对象的地址列表中删除这个URLreload() 函
Read More
posted @ 2011-03-18 09:41 为啥
Views(231)
Comments(0)
Diggs(0)
2010年12月16日
jquery
if($("input[name='radioName'][type='radio']:checked").length==0) { alert("请选择类型"); return ; }
Read More
posted @ 2010-12-16 10:32 为啥
Views(237)
Comments(1)
Diggs(0)
2010年6月2日
select元素javascript常用操作
/*------------------------------------------------------*语言:JavaScript*说明:select元素javascript常用操作*1.判断是否存在指定value的Item*2.加入一个Item*3.删除值为value的所有Item*4.删除某一个index的选项*5.更新第index项的value和text*6.设置select中指定...
Read More
posted @ 2010-06-02 15:13 为啥
Views(160)
Comments(0)
Diggs(0)
上一页
1
2
公告