Disable the image used as button upon certain condition

Discussion in 'Java' started by avrootshell, Mar 13, 2007.

  1. avrootshell

    avrootshell Guest

    I'm using images insteasd of buttons on my jsp page and its a struts
    application.

    I would like to disable this image upon 3 tries.
    This image servers as confirm button. User has to enter certain
    information and hit confirm image . If he enters wrong information for
    3 times, then i need to disable this image. so no more submits takes
    place.

    Can anyone provide me the code to accomplish this please.
    tia.
    avrootshell, Mar 13, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. -
    Replies:
    12
    Views:
    691
    Remon van Vliet
    Jun 15, 2005
  2. Reckoner
    Replies:
    1
    Views:
    306
    Diez B. Roggisch
    Nov 5, 2009
  3. Simon Abolnar

    Disable button in datagird on condition

    Simon Abolnar, Mar 1, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    167
    Elton Wang
    Mar 1, 2005
  4. Paul D. Fox

    How can I disable a Delete button Based on Condition

    Paul D. Fox, Jun 10, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    170
  5. Bill W.
    Replies:
    13
    Views:
    293
    Phillip Gawlowski
    May 9, 2011
Loading...

Share This Page