SyntaxFix
Write A Post
Hire A Developer
Questions
jQuery now supports .data();, so if you have
.data();
<div id='author' data-content='stuff!'>
use
var author = $('#author').data("content"); // author = 'stuff!'