JSFiddle - React, Tailwind, and code Playground

by bvotcode

HTML

<div onload="$(this).text('Hello world in Div using text()');"></div>
<div onload="hello()"></div>
<script>
function hello(){
	alert('Hello world! in hello');
}
$(function(){
	$('div[onload]').trigger('onload');
});
</script>