[CLOSED] How to know if an image button is pressed = true using javascript?

  1. #1

    [CLOSED] How to know if an image button is pressed = true using javascript?

    Hi,

    Could you tell me please how to know if an image button is pressed = true using javascript?
    Last edited by Daniil; Aug 26, 2010 at 7:59 PM. Reason: [CLOSED]
  2. #2
    I don't think the ImageButton actually renders differently when Pressed="true". The Component just renders as an image.

    You can also check the value client-side by getting the .pressed property.

    Example

    alert(ImageButton1.pressed);
    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 4
    Last Post: Nov 19, 2010, 1:39 PM
  2. Replies: 3
    Last Post: Aug 27, 2010, 9:30 PM
  3. [CLOSED] How to make an image button disabled using javascript?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Aug 25, 2010, 7:41 PM
  4. [CLOSED] How to make an image button pressed when the user clicks it?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 01, 2010, 2:26 AM
  5. Replies: 6
    Last Post: Feb 03, 2010, 3:31 PM

Posting Permissions