[jQuery] Re: select data in a ignoring the

2008-09-30 Thread equallyunequal
} else { html += node.innerHtml; } }); return html; } On Sep 30, 3:01 pm, equallyunequal <[EMAIL PROTECTED]> wrote: > NodeType        Named Constant > 1       ELEMENT_NODE > 2       ATTRIBUTE_NODE > 3       TEXT_NODE > 4       CDATA_SECTION_NODE > 5  

[jQuery] Re: select data in a ignoring the

2008-09-30 Thread equallyunequal
ion I think I can do it > with jQuery .. > do you know what does node.nodeType mean in javascript > nodeType=1 what does that mean for each value ? > thanks Pedram > > On Sep 30, 8:29 pm, equallyunequal <[EMAIL PROTECTED]> wrote: > > > I'm not sure how to do it in a &q

[jQuery] Re: Hidden spam on jquery blog

2008-09-30 Thread equallyunequal
Woops looks like jQuery blog got hit by a sql-injection attack! On Sep 30, 2:04 pm, zaadjis <[EMAIL PROTECTED]> wrote: > Right after the script tag with urchin.js. Can the powers that be fix > this, please?

[jQuery] Re: select data in a ignoring the

2008-09-30 Thread equallyunequal
ROTECTED]> wrote: > It didn't work Cause the Text isn't concern as a Children and it is in > No Tag area  so when we call $(this).children it returns only the > Span and if we do $(this).children(":not(span)") it returns NULL ... > so Equally. what

[jQuery] Re: querying an array

2008-09-30 Thread equallyunequal
as a problem for you. On Sep 30, 11:41 am, equallyunequal <[EMAIL PROTECTED]> wrote: > jQuery( expression, [context] ) > > Note the optional context parameter. So, you can do this: > $("[attrib='value']", this.elements).each( function() > { console.log(th

[jQuery] Re: querying an array

2008-09-30 Thread equallyunequal
jQuery( expression, [context] ) Note the optional context parameter. So, you can do this: $("[attrib='value']", this.elements).each( function() { console.log(this); } ); On Sep 30, 10:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I was expecting this kind of answer ! :) > > Could you i

[jQuery] Re: select data in a ignoring the

2008-09-30 Thread equallyunequal
ht way to Deal with this ... > I'm still working on thiws and waiting for the best way to it > Thanks Pedram > > On Sep 30, 7:36 am, equallyunequal <[EMAIL PROTECTED]> wrote: > > > $("p:not(span)") would select all paragraphs that are not spans... > >

[jQuery] Re: select data in a ignoring the

2008-09-29 Thread equallyunequal
> um cant you just do something like $("p:not(span)") ?? > > On Sep 28, 3:48 pm, equallyunequal <[EMAIL PROTECTED]> wrote: > > > This should work: > > > var clone = $("p").clone(); > > clone.find("span").remove(); > > >

[jQuery] Re: select data in a ignoring the

2008-09-29 Thread equallyunequal
This should work: var clone = $("p").clone(); clone.find("span").remove(); clone.each( function() { console.log(this) } ); On Sep 28, 2:13 pm, [EMAIL PROTECTED] wrote: > Hi Guys, > > this is the Code which I am working on > > >   Data which I need to select and it hasn't  an attribute >   Dat

[jQuery] Re: Unable to get the number of items in a combobox

2008-09-25 Thread equallyunequal
The length property in a jQuery object or $("#emplist").length refers to the number of elements that the jQuery selector matched. So, if your selector was "div", $("div").length would be the number of div elements in your document. $("#id") doesn't return a single DOM element, it returns a jQuery