Results 1 to 2 of 2

Thread: Adding text into a text area

  1. #1
    Join Date
    Mar 2008
    Posts
    122
    Thanks
    17
    Thanked 5 Times in 5 Posts

    Default Adding text into a text area

    Hi, i have an issue: basiclly i have 2 images when you click on one i want it to insert into the corrosponding textbox: <div class="imgtxt"></div>, but with the other image i want it to say (when clicked): <span class="dogs"></span> , thank's in advance.

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Code:
    document.getElementById([element ID]).innerHTML = "text only..."
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

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
  •