I'm total beginner in jquery.
I tried this https://jsfiddle.net/0xLqhufd/2/
<body>
<div>
<input type="text" person="firstName" value="John">
<input type="text" person="birthDate" value="September 1st, 2000">
</div>
</body>
But I got only blank in alert :
$('input[person]').each(function(index) {
alert(index + ': ' + $(this).text());
}
);