05 2013 档案

摘要:一、jQuery 1. jQuery获取与当前元素同级的元素个数$(tr).parent('tbody').children('tr').length; 二、JSON 1. 将文本转换成 json 对象JSON.parse(GX_row); 2. 将 json 对象转换成文本JSON.str... 阅读全文
posted @ 2013-05-25 22:03 ssfie 阅读(156) 评论(0) 推荐(0) 编辑
摘要:转自:http://www.cnblogs.com/12go/archive/2011/12/01/2270756.html<style type="text/css">.hover{background-color:red;}</style><table id="table1" border="1" cellpadding="0" cellspacing="0"><tr><th><input type="checkbo 阅读全文
posted @ 2013-05-24 22:14 ssfie 阅读(138) 评论(0) 推荐(0) 编辑
摘要:转自:http://blog.sina.com.cn/s/blog_84f5d20b0100wpe0.html<input type="text" name="haha1" readonly><br> //文本域可点击但无法输入<input type="text" name="haha3" disabled> //文本变成灰色不可修改<input type="text" name="haha2" onfocus="this. 阅读全文
posted @ 2013-05-19 10:42 ssfie 阅读(279) 评论(0) 推荐(0) 编辑