windows 8 - How can I give focus to WinJS.UI.settingsFlyout after animation? -


i'm invoking winjs.ui.settingsflyout element via javascript using winjs. inside html element of settingsflyout, have text input field receive focus after animation of flyout occurs. i've tried use jquery's .focus() method, not work because not think flyout focused after completes animation. have click twice on input field begin typing. click once flyout in focus, , click time field in focus. quite annoying. there way implement auto focusing of input fields within winjs.ui.settingsflyout?

have tried?

settingsflyout.addeventlistener("aftershow", function(){    $('#inputid').focus(); }); 

Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -