default

“Learning jQuery” reading notes

Yuck! selects on  html elements return  zero-based indexing objects  while selects on css  elements are one-based. I nice bit of  inconsistency leading toconfution and  many coding errors I bet. Something to watch out for.

Note that :eq(1) selects the second item in the set because JavaScript array numbering is zero-based, meaning that it starts with 0. In contrast, CSS is one-based, so a CSS selector such as $(‘div:nth-child(1)’) would select all div selectors that are the first child of….

Chaffer, Jonathan (2011-09-23). Learning jQuery, Third Edition (p. 34). Packt Publishing. Kindle Edition.

Tags:
default

Christmas 2011

Christmas 2011

default

What’s Been Cooking

Virtual Meal Cart

This is what I’ve been cooking for myself lately. I enjoy cooking & eating even though I know almost nothing about formal cooking methods. There is a lot of Trial & Error going on in my kitchen.

 

default

Zany Geek on Overtime

Zany Geek Kitty

I woke up at 4am this morning, went for a hour walk then started working on my computer. I’ve been on the computer all day. PHP, Visual Studio, WordPress site building, etc. It’s now 1am in the morning and I’m still dinking around.

I did some multitasking; I had two long phone consultations about website development and content management systems vs html/css coded sites.

I’m feeling creative but exhausted and a bit frustrated about not having more to show for the time I’ve spent; in short I’m in a zany & geeky state of mind

© Robert B Gifford
CyberChimps