JSFiddle - React, Tailwind, and code Playground

by ariehg

HTML

<div id='res'>aaaa</div>

JavaScript

function myFunc(e){
    this.adopt(new Element('strong',{html:'bbb'}));   
    this.removeEvent('click',myFunc);
}

$('res').addEvent('click',myFunc);