On Aug 27, 2009, at 12:33 PM, Florin Gheorghies wrote:
How on earth do I start getting these emails out of the blue! I've
checked,
I'm not member of this group. Can anyone tell me how to cancel it?
The following instructions are paraphrased from:
http://groups.google.com/support/bin/answ
7, 2009 10:56 AM
To: jQuery (English)
Subject: [jQuery] Re: focus() killed by return false;
Thanks Ianxiazhi, that works.
Why is it that I need to call focus from its own callback? Like I
said, I'm very new to JS/jquery so any insight is appreciated.
-S
On Aug 27, 12:14 am, lanxiazhi wr
Thanks Ianxiazhi, that works.
Why is it that I need to call focus from its own callback? Like I
said, I'm very new to JS/jquery so any insight is appreciated.
-S
On Aug 27, 12:14 am, lanxiazhi wrote:
> function loginCallback() {//add a callback function to this animation,where
> the focus take
function loginCallback() {//add a callback function to this animation,where
the focus take place.
$("#login_form").show("slide", null, 1000); }
I tried both Hector's suggestion and Karl's, neither solved the
problem.
In both cases the field has focus while it's sliding in, then when the
animation is done focus is lost. Oddly, I noticed if I navigate away
from this page by going to another tab in FF, when I return to this
page the field *
If Hector's suggestion doesn't work, try using preventDefault()
instead of return false:
$(function() {
$("#login a").click(function(event) {
event.preventDefault();
$("#login").animate( { width: 300, height: 20 }, 500);
$("#login a").hide
I've only got one element with .focus at this point, but I'll try
Hector's suggestion this evening.
Thanks for the help
: [jQuery] Re: focus() killed by return false;
Try calling focus() on the actual element instead of the collection.
Change this:
$("input.focus").focus();
To this:
$("input.focus")[0].focus();
--
Hector
On Wed, Aug 26, 2009 at 7:37 AM, shenry wrote:
Try calling focus() on the actual element instead of the collection.
Change this:
$("input.focus").focus();
To this:
$("input.focus")[0].focus();
--
Hector
On Wed, Aug 26, 2009 at 7:37 AM, shenry wrote:
>
> *bump*
>
> Any ideas?
*bump*
Any ideas?
10 matches
Mail list logo