Two questions I had when starting with jQuery, and glancing through the
API docs, I still don't see them documented (maybe in a tutorial?):
(1) How do you select an element by its ID?
(2) How do you select all elements given a CSS class?
This leads to an interesting documentation question:
Richard D. Worth wrote:
New wiki page:
http://docs.jquery.com/Frequently_Asked_Questions
This is great! I think there should be a link to this from the Getting
Started list on the documentation page. I don't have authorization to
edit the Main Page or whatever template is used, or I
I don't know if you saw, but there is a link on that page (as well as the
left sidebar - all pages). It's not under Getting Started, but under
Support.
- Richard
On 7/17/07, Scott Sauyet [EMAIL PROTECTED] wrote:
Richard D. Worth wrote:
New wiki page:
Richard D. Worth wrote:
http://docs.jquery.com/Frequently_Asked_Questions
This is great! I think there should be a link to this from the
Getting Started list on the documentation page.
I don't know if you saw, but there is a link on that page (as well as
the left sidebar - all pages).
Richard D. Worth wrote on 7/14/2007 8:06 AM:
Just a few to start with. Please add any questions you've seen come up a
lot.
Two questions I had when starting with jQuery, and glancing through the API
docs, I still don't see them documented (maybe in a tutorial?):
(1) How do you select an
Select By ID
$(#MyID);
Select By Class
$(.myClass);
# indicates an ID while . indicates a class. It's documented somewhere, I
just know it.
On 7/16/07, Bil Corry [EMAIL PROTECTED] wrote:
Richard D. Worth wrote on 7/14/2007 8:06 AM:
Just a few to start with. Please add any questions
I knew they existed. Check out the selectors document and search for
E.warning and E#myid. I just knew they were there somewhere. My eye skipped
over them the fist time through as well. :o)
http://docs.jquery.com/DOM/Traversing/Selectors#A_Short_Preliminary_Note
Hope this helps,
Chris
On
Richard D. Worth wrote:
New wiki page:
http://docs.jquery.com/Frequently_Asked_Questions
Just a few to start with. Please add any questions you've seen come up
a lot.
A good start!
We need to find better examples for the first two questions. The
difficulty here is to find examples that
Thank you, thank you, thank you, Richard! A welcome addition to the
wiki. I'm especially glad to see #2.1 in there, as that question
seems to pop up in the list eight days a week.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jul 14, 2007, at 11:06
9 matches
Mail list logo