Tuesday, August 9th, 2011

A simple random bit on var selector

Category: CSS, jQuery

Isobar’s Rob Larsen suggests that there is often a need to build CSS selectors dynamically when building applications. ”This is typically some existing pattern paired with a loop counter or something pulled from a data attribute,” he writes on his blog. His choice is to create a variable called ”selector” and ”to craft the selector Read the rest…

Posted by jvaughan at 7:26 pm
13 Comments

+++--
3.1 rating from 301 votes

All Posts of August 2011