SyntaxFix
Write A Post
Hire A Developer
Questions
It is working you have to check attr after assigning value
LiveDemo
$('#amount').attr( 'datamin','1000'); alert($('#amount').attr( 'datamin'));?