[jQuery] get next item of sibling relationship unknown (was: first child of type form control)

2008-04-04 Thread dug
{ $.scrollTo('.scrollTo', 1000); $('.scrollTo').findNext(:input).focus(); } }); The scroll is working but the focus only works intermittently Thanks :-) Dug

[jQuery] Re: first child of type form control

2008-03-31 Thread dug
Thanks Jason :-) How would I handle that if the #elHombre object is inside the form? Cheers, Dug On Mar 27, 12:21 pm, Jason Huck [EMAIL PROTECTED] wrote: Try this: $('#elHombre').next('form').children('input select textarea') [0].focus(); - jason On Mar 27, 6:32 am, DugFalby [EMAIL

[jQuery] first child of type form control

2008-03-27 Thread Dug Falby
that follows the anchor. For example: p id=elHombre This is the introduction/p form label Your name: input type=text //label /form The script would set the focus to the text input box. Thanks all :-) Best, Dug -- Dug Falby +44 75 15 66 16 55 http://www.donkeyontheedge.com/

[jQuery] Re: adding conditional to $(x)

2008-01-01 Thread dug
how your code is working so apologies there... Once again thanks to all for your great suggestions. Best, Dug On Jan 1, 1:31 pm, Wizzud [EMAIL PROTECTED] wrote: $(function(){ $('[EMAIL PROTECTED]').each(function() { var len = this.value.length; $(this).addClass(len5?'S':len10

[jQuery] adding conditional to $(x)

2007-12-31 Thread Dug Falby
$() construct? Thanks:-) Dug -- Dug Falby +44 75 15 66 16 55 http://www.donkeyontheedge.com/

[jQuery] Re: adding conditional to $(x)

2007-12-31 Thread dug
return an integer that corrresponds to the number of letters in the value attribute? Should it be val().length() or something? Thanks for your help! Cheers, Dug On Dec 31, 12:06 pm, Kelvin Luck [EMAIL PROTECTED] wrote: Hi, You could try this (untested): $('[EMAIL PROTECTED]').each

[jQuery] Invitation from Dug Falby ([EMAIL PROTECTED])

2007-09-11 Thread Dug Falby
friends, maintain a blog, share videos amp; photos, chat with other members, play games, and more. It's no wonder Quechup is fast becoming 'The Social Networking site to be on' Join Dug and his friends today: http://quechup.com/join.php/aT0wMDAwMDAwMDEwMTkwMjkzJmM9MTAzMzcz

[jQuery] Noob syntax question re toggle between css attributes

2007-08-07 Thread dug
; }); In expectation of kicking myself ;-) All the best, Dug

[jQuery] Re: Noob syntax question re toggle between css attributes

2007-08-07 Thread dug
the legwork for you:-) Thanks for you help :-) Dug On Aug 7, 3:24 pm, Glen Lipka [EMAIL PROTECTED] wrote: You may want to check out the Toggle function. It might eliminate the need for the IF. Maybe even the toggleClass() method? http://www.jquery.com/api $(.doSetSelect).toggle(function

[jQuery] Re: Noob syntax question re toggle between css attributes

2007-08-07 Thread dug
the legwork for you:-) Thanks for you help :-) Dug On Aug 7, 3:24 pm, Glen Lipka [EMAIL PROTECTED] wrote: You may want to check out the Toggle function. It might eliminate the need for the IF. Maybe even the toggleClass() method? http://www.jquery.com/api $(.doSetSelect).toggle(function

[jQuery] manipulating TEXAREA content

2007-04-19 Thread Dug Falby
to always be the last chars of the textrarea. A bit like this: I [1 char] I can [5 char] I can type [10 char] you get the idea, the little [x char] string floats along as if the insertion point was just before it. Is this going to be possible? All the best, Dug -- Dug Falby http