function RadioButtonList1Changed() { var rbtn = document.getElementByIdx_x("rbtnCompany"); //得到所有radio var list= rbtn .getElementsByTagName_r("input"); for (var i = 0; i if (vRbtidList[i].checked) { var text = rbtn .cells[i].innerText; var value = list[i].value; alert("选中项的text值为" + text + ",value值为" + value); } } }
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn