JSFiddle - React, Tailwind, and code Playground

by sanford

HTML

<div id="sandbox"></div>

JavaScript

var i1, i2;

i1 = new Element('img', {
    id: 'image1',
    src: 'http://blog.accessko.nl/wp-content/uploads/2009/06/logo-mootools.gif?2',
    alt: ''
});


document.id('sandbox').grab(i1);

i1.src=" http://www.figureone.com/favicon.png ";


i2 = new Element('img', {
    id: 'image1',
    src: 'http://blog.accessko.nl/wp-content/uploads/2009/06/logo-mootools.gif',
    alt: ''
});

document.id('sandbox').grab(i2);