I have a custom attribute called data-role and I\'d like to find all elements where data-role=\"content\" in jQuery.
Check out jQuery's list of attribute selectors. You're looking for something like
$('div[data-role="content"]')