Created
March 26, 2015 17:24
-
-
Save amadden80/9f2c2e88332be53653f3 to your computer and use it in GitHub Desktop.
Swappin The Images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var pics = document.getElementsByTagName('img'); | |
| for (var i=0; i<pics.length; i++){ | |
| pics[i].src = 'http://wdi-woodstock.com/sass.jpg'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment