This project is read-only.

set focus for flex box

May 18, 2011 at 5:20 AM
Edited May 18, 2011 at 5:21 AM

hi All

i can not set focus to the input(textbox) of flex box,

i use code behind, please show me this problem.

Thanks !

var ctl = $('#' + 'myDropdownList');
    if (isNullOrUndefined(ctl)) return;
   
    if (ctl.isFlexBox()) {
         ctl.focus();
    }

Jan 31, 2012 at 12:58 PM

hi

u can set focus to flexbox text box as below

$("#ffb_input").focus(function () {
    $(this).animate({          
         width: '180px'
         },
        "fast");
 });