I am having trouble applying a style that is !important. I’ve tried:
!important
$(\"#elem\").css(\"width\", \"100px
Instead of using the css() function try the addClass() function:
css()
addClass()