To be fair, I think the jQuery API documentation is sorely lacking, when
compared to say, php.net (I know they're not on the same scale, but e.g. the
ability to comment documentation and add additional examples is very
useful.)
e.g.
The 'defiinition' of $ <http://jquery.com/api/#$>( ElementThe Javascript
object representation of a DOM Element.
|Array<Element>An Array of DOM Elements.
elemsDOM element(s) to be encapsulated by a jQuery object.
) returns jQuery is:
"Wrap jQuery functionality around a single or multiple DOM Element(s)."
That sentence is not very explicatory: you could not have got Chris's
example from having read that. I'm still a newbie myself, and don't have the
knowledge yet to extend the API documentation - I'll be happy to, once I
know more.
I'm reading JAKE's comments as sarcastic, so I agree: trawling through old
forum conversations can be useful, but it's much better to help people, if
you're going to take the time to post anything at all.
On 1/23/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
isn't' this a great list of great minds supporting newbees on the road
to becoming the authors of great sites! I am proud to be a member of
this active community!!
We've all learned so much! and most are happy to share the knowledge!
much friendlier than some other groups.
:)
On 1/22/07, Matt Stith <[EMAIL PROTECTED]> wrote:
> I would say it is better the suggested way. I also suggest, as chris
> said, that you read jquery's documentation before you continue your
> development.
>
> On 1/23/07, chango <[EMAIL PROTECTED]> wrote:
> >
> > Wow, that was Fast!
> > ok, thanks, it's the same this: window.parent$("#myId");
> > or it's better in the way you say.
> >
> > Thanks, cheers.
> >
> >
> > Chris Domigan wrote:
> > >
> > > All $() does is call the jQuery query engine to find dom elements
based on
> > > a
> > > css-like query. So $("#myId") finds any element with an id of
"myId".
> > >
> > > You can do $("#myId", window.parent.document) to set the context of
> > > operation.
> > >
> > > All this is documented on the website, I recommend you start at the
top!
> > >
> > > Chris
> > >
> > > _______________________________________________
> > > jQuery mailing list
> > > [email protected]
> > > http://jquery.com/discuss/
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/newbee-question-tf3061812.html#a8515913
> > Sent from the JQuery mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Daniel Eastwell
Portfolio and articles:
http://www.thoughtballoon.co.uk
Blog:
http://www.thoughtballoon.co.uk/blog
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/