Если у меня такой стиль -
div#testdiv {position:absolute;top:10px !important;}
Я могу запросить значение top
с помощью jQuery следующим образом:
$("#testdiv").css("top");
который вернет значение 10px
. Можно ли использовать jQuery или JavaScript, чтобы проверить, имеет ли свойство top
атрибут !important
к нему?