var role = $.cookie('user_role'); // Should return one of 'ADMIN', 'USER' OR 'GUEST'. // set property for relevant css class. var cssClass = '.role_'+ role.
The [attribute^="value"] selector is used to select elements whose attribute value begins with a specified value. The following example selects all elements ...
that a role attribute be added to HTML5 as a global attribute, in the same manner that title was introduced in HTML4. that a pre-defined list of roles for ...