[jQuery] Re: function text() in jquery

2009-01-15 Thread kazuar
('[nodeType=3]')[0].nodeValue; > > Notice that both will keep the linebreaks. if text() could handle > textnodes this would be much easier. > > - ricardo > > On Jan 12, 2:43 pm, kazuar wrote: >> Hi, >> >> I thank you all for your help. >> I g

[jQuery] Re: function text() in jquery

2009-01-12 Thread kazuar
Hi, I thank you all for your help. I guess I'll go with Bohdan's suggestion. I'll put the text inside another tag (probably p tag...). thanks again for all your help, if you think of anything else please let me know. Kazuar Bohdan Ganicky wrote: > > > Hello, >

[jQuery] Re: function text() in jquery

2009-01-12 Thread kazuar
anyone? kazuar wrote: > > hello, Im kinda new in jquery so maybe its a begginer question. > I have a page with a div containing some text and a combobox. > something like that > > > hello this is text and this is combobox > 12 value='3'>3 > &g

[jQuery] function text() in jquery

2009-01-12 Thread kazuar
and it can come after the input field or before the input field so I just want to get the text inside the div without the input fields text... (This only happens with combobox). tnx, Kazuar -- View this message in context: http://www.nabble.com/function-text%28%29-in-jquery-tp21410667s27240p214