[jQuery] Re: confusing children() behavior

2007-09-10 Thread Jonathan Chaffer
the string Google is in the anchor, this is what is returned. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: :eq vs :nth?

2007-08-04 Thread Jonathan Chaffer
they will be deprecated. Is that not correct jQuery gurus? They'll be deprecated in 1.1.4, removed in 1.2. And really easy to re-add via a plug-in! -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: Help with book example - alternating row colors

2007-07-30 Thread Jonathan Chaffer
. You could insert this clause right after the existing .addClass() line. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: book learning jquery appendix C,closure question

2007-07-14 Thread Jonathan Chaffer
.innerFun2(); // Alerts 3 globVar2.innerFun(); // Alerts 4 -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: book learning jquery appendix C,closure question

2007-07-14 Thread Jonathan Chaffer
innerFun2() can be considered a private variable of globVar. What you're missing here is the return statement of the outer function. A reference to the inner function is returned, so it can be called by the outside code. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: jquery book

2007-07-11 Thread Jonathan Chaffer
Reference Guide is a 250+ page complete reference to the jQuery API and selector expressions (up to v1.1.2), plus individual chapters on the Dimensions plugin, Form plugin, and creating your own plugin (and 3 appendices). This one should be available beginning of August. -- Jonathan Chaffer Technology

[jQuery] Re: Syntactic sugar for checking whether an element exists

2007-07-10 Thread Jonathan Chaffer
for it), and as a bonus creates a little namespace in the function where you can declare local variables. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: Really removing items from the DOM

2007-07-09 Thread Jonathan Chaffer
the DOM, though, so a later call to: $('#myElement') will match no elements. It will be an empty jQuery object. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: jQuery book status?

2007-06-20 Thread Jonathan Chaffer
:) Thanks, Jim -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: The .ready() event

2007-06-08 Thread Jonathan Chaffer
code that will run when the DOM is ready, which could well be quite a bit before the onload event occurs for the page. It is possible to attach an onload handler to an individual element (e.g. image) though, which can be useful. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: table paging and sorting together

2007-04-10 Thread Jonathan Chaffer
engine is bound to be much faster on sort operations than JavaScript ever could be. There are all manner of optimizations present in databases for just this type of task, and JavaScript is obviously more general-purpose. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: ANNOUNCE: New jQuery Book Available for Pre-Order!!

2007-04-09 Thread Jonathan Chaffer
one with the same cover price: http://www.packtpub.com/drupal/book They tend to offer the eBook either separately or bundled with the print edition at a reduced cost. -- Jonathan Chaffer Technology Officer, Structure Interactive

[jQuery] Re: table paging and sorting together

2007-04-09 Thread Jonathan Chaffer
. -- Jonathan Chaffer Technology Officer, Structure Interactive