How do I get started with jQuery? [closed]
I’m new to jQuery, so I want to know how I can get started with it, or where to start from.
As others have mentioned, there are a bajillion tutorials out there. They're all good choices, but the way I decided to learn was by doing it.
These are the steps I took:
Decide what you want to add to the page using jQuery (specifically look at jQuery UI, maybe accordian, tabs, etc... for examples of what I've done with TABS and jQ take a look at http://itsalldiet.com/tools)
From there, go to the jQueryUI documentation (as mentioned by so many others) but in my example, I'd say go exactly here: http://jqueryui.com/demos/tabs/
Click on "View Source"
Copy and Paste the source onto your own website.
Change it a little to meet your purposes
Decide that it still doesn't quite do exactly what you want it to do
Read about the other options you can play with.
Get close but not quite close enough....
Start reading about accessing the DOM directly and looping through every element on the page using CCS Selector Syntax (it's here: http://www.w3.org/TR/css3-selectors/ once you start to get the hang of it, you're basically a ninja) :
jQuery, as with any new language may seem overwhelming at first. It is, however, once you get the hang of it, quite a bit of fun. I also really like prototype too. You might want to check that one out too.