onRightClick

Sharky Forums


Results 1 to 2 of 2

Thread: onRightClick

  1. #1
    Sleeps with the Fishes
    Join Date
    Jan 2007
    Posts
    4

    onRightClick

    I want to have the value of a field disappear on right click, but not on left click.

    Is this possible?

    Thanks.

  2. #2
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203
    You're talking about JavaScript, right? I don't think there is an "onRightClick" event. Instead you need to use "onContextMenu". Then you just need to write code for that event.

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

Posting Permissions

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