Re: [jQuery] Form questions

2006-09-11 Thread Michael Geary
 From: Yehuda Katz
 
 1) Is it possible to easily get the current focused field?
 
 2) Is it possible to programmatically get the cursor to blink 
 in a text field?

Hi Yehuda,

I wonder if you saw my reply to your previous message on this topic:

http://jquery.com/discuss/2006-September/011349/

I don't think there is a way to do #2, but you don't need to do it if you
follow my suggestion, because your touch keyboard won't steal the keyboard
focus.

You can do #1 by tracking blur and focus events on the text fields. I don't
know of an easier way, but that is easy enough.

-Mike


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Form questions

2006-09-11 Thread Yehuda Katz
Michael,I did see your earlier comments. Unfortunately, any click event unblurs inputs. I've gotten around it by tracking the focus using a global variable and reassigning it using the DOM method focus().-- Yehuda
On 9/12/06, Michael Geary [EMAIL PROTECTED] wrote:
 From: Yehuda Katz 1) Is it possible to easily get the current focused field? 2) Is it possible to programmatically get the cursor to blink in a text field?Hi Yehuda,
I wonder if you saw my reply to your previous message on this topic:http://jquery.com/discuss/2006-September/011349/I don't think there is a way to do #2, but you don't need to do it if you
follow my suggestion, because your touch keyboard won't steal the keyboardfocus.You can do #1 by tracking blur and focus events on the text fields. I don'tknow of an easier way, but that is easy enough.
-Mike___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Form questions

2006-09-11 Thread Michael Geary
 I did see your earlier comments. Unfortunately, any click 
 event unblurs inputs. I've gotten around it by tracking the 
 focus using a global variable and reassigning it using the 
 DOM method focus().

Oh rats, what was I thinking. You're right, of course. Sounds like you have
a good solution now, though.

-Mike


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/