Swap image with check/uncheck of Radio Button

Discussion in 'HTML' started by lemat@attglobal.net, Jan 8, 2007.

  1. Guest

    Hi,
    I use a radio button form in which users can select a color by clicking
    on a image.
    I would like this image to change to another one when it's chosen.
    (image with a "Chosen" Stamp in the middle)
    Of course I like it to be restored if hte user select another color.

    I've tried to add behaviour to the image (swap on click) and on the
    button (onchange swap restore) but it doesn't work (hte image id
    swapped and restored almost instantly).

    Any ideas ?

    Mathieu
     
    , Jan 8, 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. Niels Dekker (no reply address)

    What swap is called when using std::swap?

    Niels Dekker (no reply address), Jul 19, 2006, in forum: C++
    Replies:
    4
    Views:
    993
    Niels Dekker (no reply address)
    Jul 20, 2006
  2. Hiten
    Replies:
    1
    Views:
    632
    Vidar Petursson
    May 26, 2004
  3. Ken Loomis

    Checked radio button doesn't uncheck

    Ken Loomis, Dec 31, 2003, in forum: Javascript
    Replies:
    1
    Views:
    246
    Ken Loomis
    Dec 31, 2003
  4. Replies:
    2
    Views:
    155
  5. cerr

    uncheck radio group

    cerr, Nov 5, 2011, in forum: Javascript
    Replies:
    7
    Views:
    1,228
    Dr J R Stockton
    Nov 6, 2011
Loading...

Share This Page