Equand,
I think you need to do:
$(Data item, xml).size()
On 12/6/07, Equand [EMAIL PROTECTED] wrote:
when in the root node of xml file i have only one node with text in
it, when i parse this xml using jquery, i' am unable to get the
included node...
for example
Data
item
but what's the difference?
do i need to write separate parsing functions for one and several
items?
or i can use $(Data item, xml) selector for both cases?
On Dec 6, 5:31 pm, Benjamin Sterling
[EMAIL PROTECTED] wrote:
Equand,
I think you need to do:
$(Data item, xml).size()
On 12/6/07,
jQuery only takes two parameters on $(). (the second one is optional)
$(expression, context)
http://docs.jquery.com/Core/jQuery#expressioncontext
so your first attempt had 3 parameters. The last one was ignored.
The second one became the context so jQuery was looking for a tag
item in the
yeah i'm using ajax ) thank you very much, now i see i was using
pretty unstable selector, thank you ;)
On Dec 6, 7:17 pm, David Serduke [EMAIL PROTECTED] wrote:
jQuery only takes two parameters on $(). (the second one is optional)
$(expression, context)
Thanks for explaining that Dave.
On 12/6/07, Equand [EMAIL PROTECTED] wrote:
yeah i'm using ajax ) thank you very much, now i see i was using
pretty unstable selector, thank you ;)
On Dec 6, 7:17 pm, David Serduke [EMAIL PROTECTED] wrote:
jQuery only takes two parameters on $(). (the
5 matches
Mail list logo