In a form if i have a radio box say yes n no... on clicking on yes i want a text area to pop up
how do i do this
vardhani 0
Newbie Poster
Recommended Answers
Jump to PostAsumming you have a hidden text area with the id "txarea" and a radio button with the is "rdbtn":
function onradiobuttonclick(){ var radiobutton = document.getElementById("rdbtn"); if (radiobutton.checked){ document.getElementById("txarea").style.visibility = "visible"; } }
Jump to PostAsumming you have a hidden text area with the id "txarea"
How can you have a hidden text area ?
All 10 Replies
scru 909
Posting Virtuoso Featured Poster
vardhani 0
Newbie Poster
scru 909
Posting Virtuoso Featured Poster
nav33n 472
Purple hazed! Team Colleague Featured Poster
ShawnCplus 456
Code Monkey Team Colleague
scru 909
Posting Virtuoso Featured Poster
ShawnCplus 456
Code Monkey Team Colleague
nav33n 472
Purple hazed! Team Colleague Featured Poster
vardhani 0
Newbie Poster
vssp -5
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.