jQuery html content of atribute data-x? -


is possible show in qtip2 html content attribute data-x?

jquery-this code not work html in attribute data-x

$('.icon[data-x]').qtip({     content: {         attr: 'data-x'     },     position: {         my: 'bottom center',         at: 'top center'     } }); 

html

<span class="icon" href="#" data-x="<strong>html</strong><br>content"></span> 

you can this:

var $icon = $('.icon[x]'); $icon.qtip({     content: $icon.attr('x') }); 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -