493: Undecipherable

-Blog-

-Projects-

-Urlaub-

-About me-

-RSS-

HTML JS publish click-events to all childs

Dennis Guse

I have tables with one radio button per cell and its quite annoying to aim at the radio button completely...

1 <td onclick="
2   for (var i in this.childNodes)
3     if(typeof this.childNodes[i].click === 'function') this.childNodes[i].click();"><input type="radio" >Just clickable text</td>