replacing all images from a class with another image using Javascript
问题 I'm using an external script on my website with a form. Some of the css is customizable, but I can't change images for example. I would like to replace the small image displayed when a field is not completed by an other one using Javascript. This is the HTML code with the original image : <img class="incorrect-img" count="1" src="http://www.detailsdetails.eu/images/newimg/incorrect.gif"></img> I'm trying with this Js code but it's not working... $(document).ready(function () { document