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.
以上就是Swap button for image (Jquery)的详细内容，更多请关注web前端其它相关文章！