yo(selector).html()
yo(selector).html()
Get the selector content as HTML
<div class="myclass"><span class="title"></span></div>
// Will return <span class="title"></span>
var content = yo('.myclass').html();
yo(selector).html(data)
Set the content of the selector with data
// call it again remove the class "name"
yo('.myclass').html('<b>text</b>');
Go to index