文斌的博客

学无止境
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年4月11日

摘要: 例:将多个选中的checkbox的值组装成一个字符串<script type=text/javascript>function addMem(){//var followers = document.getElementsByName("followers");var f_str = '0';$("input[@name='followers']").each(function(){ if($(this).attr("checked")==true){ f_str += ",&qu 阅读全文

posted @ 2011-04-11 22:02 文斌1988 阅读(297) 评论(0) 推荐(0)