Results 1 to 2 of 2

Thread: Show/Hide Textarea

  1. #1
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Show/Hide Textarea

    Hello all ..

    I've built an online questionnaire, and when somebody checks a "Yes" checkbox they must provide an explaination. Instead of cluttering my webpage with a bunch of textareas, I would like to display them dynamically ONLY if a "Yes" checkbox is checked.

    How can I accomplish this?

    Thanks,
    LiseC

  2. #2
    Join Date
    Dec 2005
    Location
    Moscow, Russia
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There is better way to show tooltip near checkbox (iv div), not text in textarea. Use document.getElementById('divWithExplanation').style.display='block' for show this layer (default style is display:none).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •