查看: 1854|回复: 3
|
把checked radio button ID 的放进 hidden box seperated by delimiter
[复制链接]
|
|
哈咯。。您们好。。。。。。希望javascript高手们。帮帮忙啊!
i got a list of radiobutton, with differnt name.
when i click on the radio button, it willpass the 'ID' into the JS function, how can i get the CHEKED radio ID and put in the hidden field first? i wan to put the all checked radio ID separated by a specified delimiter, such as in this format--> 1.2.3.4.5.6 with the delimiter '.'
谢谢您们。。。
p/s :javascript |
|
|
|
|
|
|
|
发表于 23-1-2008 11:25 AM
|
显示全部楼层
document.getElementById("RadioName" + i).checked |
|
|
|
|
|
|
|

楼主 |
发表于 23-1-2008 05:39 PM
|
显示全部楼层
可以看看我的coding 吗?我要当选那个radio button时,会call chkphoto(photoid) function,然后pass into text box(hidden field),谢谢。 |
|
|
|
|
|
|
|
发表于 23-1-2008 09:42 PM
|
显示全部楼层
你没有hidCounter这个Object,也没total_file这个Object。
[ 本帖最后由 为人民服务 于 23-1-2008 09:47 PM 编辑 ] |
|
|
|
|
|
|
| |
本周最热论坛帖子
|