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

2008-04-04 Thread dug
x27;.errorState').findNext(":input").focus(); } else { $.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') >

[jQuery] first child of type form control

2008-03-27 Thread Dug Falby
set to the first form control that follows the anchor. For example: This is the introduction Your name: 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
ork out exactly 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.l

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

2007-12-31 Thread dug
$this.val() doesn't 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 (un

[jQuery] adding conditional to $("x")

2007-12-31 Thread Dug Falby
#x27;M') Can I still use the lovely $() construct? Thanks:-) Dug -- Dug Falby +44 75 15 66 16 55 http://www.donkeyontheedge.com/

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

2007-09-11 Thread Dug Falby
h old friends, maintain a blog, share videos & 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/aT0wMDAwMDAw

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

2007-08-07 Thread dug
this is all moot if the lovely toggle thingie does all 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 ev

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

2007-08-07 Thread dug
this is all moot if the lovely toggle thingie does all 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 ev

[jQuery] Noob syntax question re toggle between css attributes

2007-08-07 Thread dug
lse { $(this).parents(".def_set").css({backgroundColor: "rgb(238,238,238)"}) } return false; }); In expectation of kicking myself ;-) All the best, Dug

[jQuery] A contrite Dug

2007-05-03 Thread Dug Falby
e to think I've generated traffic for them. All the best, Dug -- Dug Falby http://www.donkeyontheedge.com/

[jQuery] Re: manipulating TEXAREA content

2007-04-20 Thread Dug Falby
) ) 4. edit that function to alert the current value of the textarea (think 'this') 5. edit that function to alert the length of that value 6. edit that function to append that value and whatever text you want to the current value of the textarea Thanks all :-) Dug -- Dug Falby http://www.donkeyontheedge.com/

[jQuery] manipulating TEXAREA content

2007-04-19 Thread Dug Falby
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