in jQuery

JQuery 1.6+ attr and prop issue