Easily get a single element with jQuery
1 2 $.first = function(a, b) {return $(a, b).get(0)};
DZone Snippets > ciconia > jquery
12750 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Sharon Rosner http://hiperu.blogspot.com
1 2 $.first = function(a, b) {return $(a, b).get(0)};