$(function(){ document.write($("#test").attr("data-test")) })