Radio button option

  HTML & CSS

Email

How to resolve below problem?

 

How to create radio button on form ?

@ option Yes or No

If Yes, Open Text box

Spread the Code

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
anil naik Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
anil naik
Member

function yesnoCheck() {
if (document.getElementById(‘yesCheck’).checked) {
document.getElementById(‘ifYes’).style.display = ‘block’;
}
else document.getElementById(‘ifYes’).style.display = ‘none’;

}

Yes

No