I want to do css !important so I use attr() like below. The problem is only the right work but not the top. At first I suspect in my other part of css there is an !important that override it, but there's none.
$('#submitted').attr({'style':'top: 0 !important', 'style':'right: 0 !important'});
I also tried like this, same problem occur, only right work. why?
$('#submitted').attr('style','top: 0 !important');
$('#submitted').attr('style','right: 0 !important');