03 2011 档案

javascript动态添加删除行后行内计算及取值
摘要: 只要ID加入对应序号即可,name值不变,行内计算根据ID定位,取name值。先隐藏一个input并赋值,<input name='lastindex' type='hidden' id='lastindex1" />如下:<input name='txtquantity' id='txtquantity"+rowID+"' onblur='ToPdSum2(this,txtunitprice"+rowID+",txtcurrrency"阅读全文

posted @ 2011-03-30 11:56 ★金★ 阅读(45) | 评论 (0) 编辑

取代RadioButtonList及RadioButton方法
摘要: 此HTML标签<input id="Radio1" type="radio"/>可完全取代以上2个服务器控件。RadioButtonList及RadioButton依赖于form窗体,产生很多垃圾代码,有时候只是用来显示此方法可取代。aspx:<input type="radio" name="radio" id="test1" value="1" disabled="disabled" runat="server"/阅读全文

posted @ 2011-03-02 16:17 ★金★ 阅读(36) | 评论 (0) 编辑