ChildOfCode


Maker,Coder,Hacker,Robotic,Open Source. Knowledge Base


Tag: addClass


  1. JQuery addClass render

    A solution for the Jquery add class can't render issue. CSS /* Render at First */ #targetDiv { padding: 0px 25px 0px 5px; margin: 0px; position: absolute; right: 0; top: 43px; } /* Rerender the Div */ .TargetDiv_addClass { top: 0px !important; } JavaScript TargetDiv.addClass("TargetDiv_addClass"); The !important exception When an !important rule is used…

    CSS, !important, JQuery, addClass, render