04 2013 档案

摘要:首先来看一段貌似JavaScript面试题的源代码(被我做了小小的改动),通过该例子来理解JavaScript中的引用类型。而后对JavaScript中的Object做了初步的学习。 1: var a={x:1}; 2: var test=function(obj) 3: { 4: obj.x=2; 5: console.log("set... 阅读全文
posted @ 2013-04-11 13:21 January 阅读(951) 评论(0) 推荐(0)
摘要:用jQuery实现表格列的合计功能,当单元格的值发生变化时,合计行自动统计个单元格的值。1.编写html 1: <table id="table-fund"> 2: <caption class="table-caption-legend"> 3: (单位:万元)</caption> 4: <thead> 5: <tr> 6: <th colspan="3">经费到位情况</th> 7: </tr> 8: ... 阅读全文
posted @ 2013-04-10 22:49 January 阅读(16993) 评论(0) 推荐(2)