[jQuery] Re: select the parent recursively

2009-01-23 Thread Stephan Veigl
No, it was just for readability and to point out, that it can be any jQuery element 2009/1/23 donb : > > Is there a reason for 'var input' other than possibly readability? > Just wondering if there is some functional significance. > > On Jan 22, 6:06 am, Stephan Veigl wrote: >> try: >> var inpu

[jQuery] Re: select the parent recursively

2009-01-22 Thread donb
Is there a reason for 'var input' other than possibly readability? Just wondering if there is some functional significance. On Jan 22, 6:06 am, Stephan Veigl wrote: > try: > var input = $("input"); > var parent = input.parents("span[xmlns]"); > > by(e) > Stephan

[jQuery] Re: select the parent recursively

2009-01-22 Thread Gill Bates
great, it works. Big thx, dude. On 22 Jan., 12:06, Stephan Veigl wrote: > try: > var input = $("input"); > var parent = input.parents("span[xmlns]"); > > by(e) > Stephan

[jQuery] Re: select the parent recursively

2009-01-22 Thread Stephan Veigl
try: var input = $("input"); var parent = input.parents("span[xmlns]"); by(e) Stephan