javascript
文章平均质量分 56
u010882308
这个作者很懒,什么都没留下…
展开
-
parseInt()
js 比较数字大小 默认的var 类型是字符串 所以要转化为int 型比较数字大小 if(parseInt($("#id1").val())>parseInt($("#id2").val())){ }原创 2015-03-31 13:49:59 · 304 阅读 · 0 评论 -
dhtmlx menus
dhtmlx attachEvent("onClick",openlink) function , add new Attribute to a dom原创 2015-04-18 10:52:43 · 510 阅读 · 0 评论 -
jquey delegate add delete row and column
delegate 未出现属性原创 2015-05-22 18:57:20 · 258 阅读 · 0 评论 -
jquery 操作table
$(function(){ $("table tr td").click(function() { /*获取table 中 点击的td 值*/ var $this = $(this); //get clicked td value alert($this.text()); //$this就是这个行,你点哪行,哪行就有反应。 }); $("table tr ").click(f原创 2015-03-20 14:22:59 · 295 阅读 · 0 评论