Reputation: 1299
Im going to set tab index,
$("#DilutionFactor1_" + nCount).attr(
'tabindex',
$("#UnitOfMeasure" + nCount).attr('tabindex')+ 1) ;
but this is not working. Anyone can help me to solve this?
Upvotes: 4
Views: 24468
Reputation: 17566
try to use parseInt
$("#DilutionFactor1_" + nCount).attr('tabindex',
parseInt($("#UnitOfMeasure" + nCount).attr('tabindex'))+ 1) ;
Upvotes: 10