Welcome visitor
* Login
* Register
It is currently May 23rd, 2019, 8:54 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  click a radio option
PostPosted: April 16th, 2009, 2:26 am 

Posts: 61
how can i do so the user can select a radio option by clicking on the text description and not necessarily on the circle? I've seen some pages have this option i just dont know how.


Top
 Profile  
 
  Re: click a radio option
PostPosted: April 16th, 2009, 2:34 am 
User avatar

Posts: 137
<label for="1">Yes</label><input type="radio" name="radio1" id="1" />

the radio has a name, used to send the value, and an id, used on this example to link the label to that specific radio option.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron