You can learn javascript as you learn jQuery. In fact, I would say it
is much, much easier to learn jQuery then do a deep dive into learning
javascript.  And learning javascript extremely well isn't actually a
requirement for getting started in web application development any
longer because of libraries like jQuery.  It makes things easier if
you know javascript, helps with debugging, and if you have a more
complicated app it becomes necessary.  But if just starting out,
learning jQuery first is a valid starting point, then in order to
learn more start diving into how jQuery abstracts browser issues away
and how it works to do things like selectors/inserting/events/ajax.

for example,

$('td .class').hide();

is much easier to learn then:

var allElements = document.getElementByTagName('*');
var arr = [];

for (var a = 0; a < allElements.length; a++) {
  if (allElements[a].className === 'class') {
    allElements[a].setAttribute('display', 'none');
  }
}

Not to mention any cross browser issues that are created in rolling
your own way to do this.

Learning jQuery 1.3 is an excellent book for getting started in
jQuery, especially since it is up to date with the latest version of
jQuery.  But, I might be biased since I've written a couple of
articles for Karls site :)

Eventually, you'l want to get Douglas Crockfords excellent book,
Javascript: The Good Parts as well.  It isn't really a javascript
primer but there is lots of good stuff in there.
You can also start readign at: http://javascript.crockford.com/

Josh Powell



On May 18, 12:37 pm, alex <boba...@googlemail.com> wrote:
> Ah. I'm sure this sounds dunce-y because 'jQuery does it for me', but
> is a solid grounding in Javascript necessary to a solid grounding in
> jQuery (or at least, being able to use jQuery), or just good
> practice?
>
> I would guess, as a complete novice, that just using what is already
> available may not require pure JS knowledge, but more advanced things
> like building plugins would? I assume then that 'Learning jQuery'
> would not be the first port of call for me?
>
> On May 18, 2:55 pm, mdk <mklosterme...@gmail.com> wrote:
>
> > Yes, but because he has no JS he will like have a tough time.  I would
> > read a basic JS book first, then go for Learning jQuery 1.3.
>
> > Mike
>
> > On May 18, 8:35 am, Karl Swedberg <k...@englishrules.com> wrote:
>
> > > I've heard Learning jQuery 1.3 is a great read, too. ;-)
>
> > > --Karl
>
> > > ____________
> > > Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> > > On May 18, 2009, at 9:07 AM, MorningZ wrote:
>
> > > > I always recommend "jQuery in Action".... it's a great read
>
> > > > On May 18, 3:19 am, alex <boba...@googlemail.com> wrote:
> > > >> Just wondering what your opinions are on the best book out there, for
> > > >> a beginner, to learn jQuery? I know HTML and CSS well enough, but  
> > > >> have
> > > >> no javascript knowledge.
>
> > > >> Thanks

Reply via email to