Finding things quickly
Posted in Development, Technology on Aug 14th, 2008 2 Comments »
There are many ways of finding things in the DOM - sometimes, many ways of evaluating apparently the same expression. For example, CSS and JQuery allow you to find elements by id, using an expression of the form
var myElement=$(”#my-element-id”);
as well as the apparently equivalent expression
var myElement=$(”[id=my-element-id]“);
However, these expressions are different in [...]