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!!!!! Quote Link to comment 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" /> ??? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.