Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check box

Status
Not open for further replies.

lucyc

Programmer
Mar 1, 2002
62
US
Does anyone know how to show textarea once a checkbox is checked? Thanks.
 
You can submit the form to the same page after an onchange event in the checkbox field, then rebuild the page with the textarea field. This may look clunky since the page will reload.

You can use Javascript within the page with innerHTML, outerHTML, or insertAdjacentHTML() to write a new field after an onchange event. But this only works with IE.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top