用prototype 方法$A() uncheck radio button
做无刷新页面的时候,会碰到无法从服务器取list的size,每条list都有一个radio button, 这时候想uncheck所有radio的时候,可以用prototype方法来完成遍历:
var idxs=$('selectedGrie');
var nodes=$A(idxs);
nodes.each(function(node){
n
原创
2015-02-12 15:57:42 ·
296 阅读 ·
0 评论