[Javascript] Maintaining state

JS Student tuofamerikazmostwanted at gmail.com
Sun Oct 7 13:57:52 CDT 2007


>
> The point here is to simply record a user's selection and maintain it
> like a radio button. I know, I could have used a radio button (in
> fact did), but I wanted to use images instead of radio buttons.
>
Can't you just keep the reference of the image in some variable and on
each onmouseover event remove the border from that element and update
the variable to contain the reference of current image?



More information about the Javascript mailing list