candice Posted October 9, 2008 Share Posted October 9, 2008 Hi all, I have a radio button and image for the user to toggle between his/her in and out status. however, i want to make the image clickable such that once the image above the radio button is clicked, the radio button would be auto selected? is there any way i can do this with php and html? Thanks!!!!! Link to comment https://forums.phpfreaks.com/topic/127649-radio-button-with-clickable-image-in-html/ Share on other sites More sharing options...
JasonLewis Posted October 9, 2008 Share Posted October 9, 2008 So when the image is clicked you want the radio button to be selected? <label for="check"><img src="images.jpg" alt="" /></label><br /> <input type="checkbox" name="check" id="check" value="1" /> ??? Link to comment https://forums.phpfreaks.com/topic/127649-radio-button-with-clickable-image-in-html/#findComment-660683 Share on other sites More sharing options...
unkwntech Posted October 9, 2008 Share Posted October 9, 2008 This is IMPOSSIBLE with PHP, however JavaScript is perfect for it, and you can find the JavaScript forum right http://www.phpfreaks.com/forums/index.php/board,6.0.html Link to comment https://forums.phpfreaks.com/topic/127649-radio-button-with-clickable-image-in-html/#findComment-660684 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.