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 7/16/07, Christopher Jordan <[EMAIL PROTECTED]> wrote:
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 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 element by its ID? > > (2) How do you select all elements given a CSS class? > > > Seems like they should be included on the "Selectors" page. > > > - Bil > > -- -- http://cjordan.us
-- -- http://cjordan.us