+ 2
Does input radio with output to different text works in a table?
I have made 2 versions of input, radio and select. Each option give another text corresponding with the name. I have put radio in a table can that work together? The 2 versions are almost identical but the radio doesn't work but state each time "undefined". See my codes ending with (radio) and (select) thanks.
4 ответов
+ 3
Here's your edited code:
https://code.sololearn.com/WK4gvNIEKO0o/?ref=app
Hth, cmiiw
+ 3
Thank you.
I had found a another a what lesser solution with
<input type="radio" onclick="alert('hello');"
But yours is much better and so fast. Thanks a lot.
+ 2
Cool Thanks.
+ 1
Yess radio can work with tables.
To fix the problem you need to make for every input a onclick function i made two examples (Praios and Rondra) so you can see how it works. https://code.sololearn.com/WS64QILV5Bgx/#html