As anyone who's flicked over my beginner's blog will know, jQuery
provides a constantly vertical learning curve (!) It isn't made any
easier by the lack of basic instruction.

I realise this is largely because of my very basic Javascript
knowledge - but some of the problems I encounter are special to
jQuery, and I'd love to know whether somebody has already written a
style guide?

Example: I've just discovered I needed to concatenate a selector.
Normally, one can use:
$( '#someid .someclass' ) - as advertised by jQuery, the CSS selector.
I have a heading + class to select with jQuery. After more than half
an hour of failed experiments, I found it must be:
$( 'h2.someclass') - as not advertised anywhere that I know of!

Can I find a reference to this kind of thing?? I'm having a hard
enough time as it is!

thanks -
Cherry
( http://jquery.cherryaustin.com )

Reply via email to