摘要: //获取表单元素的名称和值function getValue(){ var elems = document.getElementById('picker').elements; var elemArray = new Object(); for(var i = 0; i < elems.length; i++){ if(elems[i].type == 'text'){ elemArray[elems[i].id] = elems[i].value; } } checkVals(elemArray); return false;}//检查值functio 阅读全文
posted @ 2013-05-12 23:15 Laborc_L 阅读(192) 评论(0) 推荐(0) 编辑