Swap button for image (Jquery)

Posted by Skoder on Stack Overflow See other posts from Stack Overflow or by Skoder
Published on 2010-03-26T02:22:32Z Indexed on 2010/03/26 2:33 UTC
Read the original article Hit count: 209

Filed under:
|
|
|

Hi

I have a button and when it's clicked, I want to replace the button with an image. How can I do this in JQuery? Is it possible to replace the background of the image as well? The button itself is within a large div, and I don't want to add another div around the button because it messes up a previous layout. Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about button