Hi Mark,
I checked my pre-release PDF of the book as well as a print copy and
haven't been able to locate the code that has return $cell.find('sort-
key') without the "." for the sort-key class. If you wouldn't mind,
could you point me to the page number where you saw that? I'll make
sure
"." should be used each time you're looking for a class using a search
pattern. That's all. There may be a typo in the aforementionned excellent
book.
Michel Belleville
2009/11/3 Mark Phillips
> Hi,
>
> Is there some general rule to determine when '.' should be added to
> JQuery method paramet
Hi,
Is there some general rule to determine when '.' should be added to
JQuery method parameters when referring to CSS classes. Here's an
example from the excellent book "Learning JQuery 1.3"
if ($header.is('.sort-alpha')) {
findSortKey = function($cell) {
3 matches
Mail list logo