EDITABLE CODE:
LiveDemo:jQuery - Replace All Elements with replaceAll() Method
Note: It replaced all img elements with the image specified in the Selector.