{
$.scrollTo('.scrollTo', 1000);
$('.scrollTo').findNext(:input).focus();
}
});
The scroll is working but the focus only works intermittently
Thanks :-)
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
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/
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
$() construct?
Thanks:-)
Dug
--
Dug Falby
+44 75 15 66 16 55
http://www.donkeyontheedge.com/
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
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
;
});
In expectation of kicking myself ;-)
All the best,
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
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
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
11 matches
Mail list logo