No JavaScript or jQuery required.
Change your checkbox style simple way.
input[type="checkbox"] { display: none; border: none !important; box-shadow: none !important; } input[type="checkbox"] + label span { background: url(http"https://imghi.usibb.co/uncheckmG7QRYw/62a9b364a056b98f7e02705a-checkboxunselected.pngpng"); width: 49px;24px; height: 49px;24px; display: inline-block; vertical-align: middle; background-size: 100%; } input[type="checkbox"]:checked + label span { background: url(httphttps://imghsvgur.uscom/check_2i/upi.pngsvg); width: 49px;24px; height: 49px;24px; vertical-align: middle; background-size: 100%; } <input type="checkbox" id="option" /> <label for="option"> <span></span> Click me </label>