data-text jquery code example
Example 1: jquery set data attribute value
//<div id="myElementID" data-myvalue="37"></div>
var a = $('#myElementID').data('myvalue'); //get myvalue
$('#myElementID').data('myvalue',38); //set myvalue
Example 2: how to put html inside jquery text
$('div.demo-container').html('<p>All new content. <em>You bet!</em></p>');