I've made a very simple example here: http://jsbin.com/etura (
http://jsbin.com/etura/edit )
And seems to be fine. Could you share what you did?

On Fri, Jan 15, 2010 at 5:48 PM, Leeoniya <leeon...@gmail.com> wrote:
> tried it, this does not work.
>
> On Jan 15, 3:27 am, Balázs Suhajda <suhaj...@gmail.com> wrote:
>> To move the cursor, you have to set focus() on the element.
>>
>> $("#fname").focus()
>>
>> Of course to move to the next you might have to find it by it's tab index
>>
>> $('input[tabindex=' + tabIndex + ']').focus();
>>
>>
>>
>> On Thu, Jan 14, 2010 at 7:09 AM, Leeoniya <leeon...@gmail.com> wrote:
>> > not sure if i am doing this right, but it doesnt seem to work:
>>
>> > $("#fname").simulate("keydown", {keyCode: 9});
>>
>> > firebug shows the simulated keydown event identical to a real one in
>> > every way. but the cursor does not move to the next tabindex field. am
>> > i missing something?
>>
>> > thanks,
>> > Leon
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "jQuery UI" group.
>> > To post to this group, send email to jquery...@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > jquery-ui+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/jquery-ui?hl=en.
>>
>> --
>> Best regards,
>> Balázs Suhajda
>
> --
> You received this message because you are subscribed to the Google Groups 
> "jQuery UI" group.
> To post to this group, send email to jquery...@googlegroups.com.
> To unsubscribe from this group, send email to 
> jquery-ui+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/jquery-ui?hl=en.
>
>
>
>



-- 
Best regards,
Balázs Suhajda
-- 
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to