Page 1 of 1

Enable Radio button selected when click whole row

Posted: Sun Aug 08, 2010 7:58 am
by simonmlewis
I don't know if this can be done via PHP or if it has to be javascript. Apologies if in wrong area of web site.

I need to enable an image button and the text (the whole row really) that when clicked, makes the radio button in the same row 'SELECT'.

Anyone know how to do this?

I've seen it happen in PHPmyAdmin a few times.

Re: Enable Radio button selected when click whole row

Posted: Sun Aug 08, 2010 10:36 am
by MindOverBody
This is client-side problem, so this is probably wrong area. ;)
Use javascript onClick trigger on <tr> to achieve that. get jQuery javascript API, check online documentation, and soon it will all be bright. ;)

Re: Enable Radio button selected when click whole row

Posted: Sun Aug 08, 2010 12:58 pm
by simonmlewis
Thanks.
I've no idea how to write Javascript.