SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2005
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript Question

    Hello,

    On a keyup event, I want a message to appear in a textarea, but I want to allow that person to delete the message afterwards. The problem is, if they push the delete button, the same message pops up. I want it to only show once and opun delet, go to a normal textarea for the person to write a message. I don't want the message to appear right away, only when someone starts to write something. Is this possible?

    Din Din Din

  2. #2
    SitePoint Enthusiast
    Join Date
    Aug 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try the onchange event - might fit your case better then onkeyup.

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2005
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Onchange doesn't work for my case. I'm trying to get it resolved. If I find out anything I will let the audience know.


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
  •