[jQuery] Re: How do I show the label text in an input

2009-01-25 Thread osu
Thanks for all the responses, much much appreciated. Funny you mentioned that method Ramanathan, as it's the one I've ended up using! Cheers, osu On Jan 24, 11:07 pm, Ramanathan RV wrote: > Hi, > > Checkout the non-intrusive labelover > plugin.http://remysharp.com/2007/03/19/a-few-more-jquer

[jQuery] Re: How do I show the label text in an input

2009-01-25 Thread Pixelstuff
Labelify is pretty good also. http://www.kryogenix.org/code/browser/labelify/ On Jan 24, 11:55 am, osu wrote: > Hi, > > Apologies for this noob question, but I really need help and I have > tried numerous techniques to get this right. > > A client has asked me to create an accessible form that

[jQuery] Re: How do I show the label text in an input

2009-01-24 Thread donb
Personally, I like this one: http://plugins.jquery.com/project/Watermark On Jan 24, 6:13 pm, Karl Swedberg wrote: > On Jan 24, 2009, at 5:07 PM, Ramanathan RV wrote: > > > Hi, > > > Checkout the non-intrusive labelover > > plugin.http://remysharp.com/2007/03/19/a-few-more-jquery-plugins-crop-la

[jQuery] Re: How do I show the label text in an input

2009-01-24 Thread Karl Swedberg
On Jan 24, 2009, at 5:07 PM, Ramanathan RV wrote: Hi, Checkout the non-intrusive labelover plugin. http://remysharp.com/2007/03/19/a-few-more-jquery-plugins-crop-labelover-and-pluck/#labelOver It might be very useful when you decide to write client side validation on the form. Yeah, I'd s

[jQuery] Re: How do I show the label text in an input

2009-01-24 Thread Ramanathan RV
Hi, Checkout the non-intrusive labelover plugin. http://remysharp.com/2007/03/19/a-few-more-jquery-plugins-crop-labelover-and-pluck/#labelOver It might be very useful when you decide to write client side validation on the form. On Sun, Jan 25, 2009 at 2:14 AM, Karl Swedberg wrote: > > > On Jan 2

[jQuery] Re: How do I show the label text in an input

2009-01-24 Thread Karl Swedberg
On Jan 24, 2009, at 12:26 PM, Klaus Hartl wrote: I assume you use the for attribute to associate labels with their inputs. Try (of course you need to adapt the selector probably): $('label').each(function() { $('#' + this.htmlFor).val( $(this).text() ); }); --Klaus Nice one, Klaus!

[jQuery] Re: How do I show the label text in an input

2009-01-24 Thread Klaus Hartl
I assume you use the for attribute to associate labels with their inputs. Try (of course you need to adapt the selector probably): $('label').each(function() { $('#' + this.htmlFor).val( $(this).text() ); }); --Klaus osu schrieb: > Hi, > > Apologies for this noob question, but I really ne