You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am having an issue with trying to close a keyboard, it would seem that im doing something wrong with the close function but i cannot see what it is? have you any ideas? the surrounding divs close fine, i just get left with a floating unclosable keyboard :-)
CODE TO create the keyboard
the input calls a function called
test(this.id) and the input has an id of txt1
var$currentCalcUserID;functiontest(inputID){currentCalcUserID=inputID$currentCalcUserID=$('#'+inputID+'');functiontest2{$currentCalcUserID.keyboard({stayOpen: true,layout: 'num',alwaysOpen:true,position: {of: $('#div_keyboard_anchor'),// null = attach to input/textarea; use $(sel) to attach elsewhere}}});}
CODE TO close the keyboard
functionclose()// this is called by an img button{var$xxx=$currentCalcUserID.getkeyboard();$xxx.close();}
The text was updated successfully, but these errors were encountered:
Hmm, setting the alwaysOpen option to true won't close the keyboard. Maybe you meant to use the stayOpen option? It closes when the user hits escape or purposely opens another keyboard, clicking outside of the open keyboard won't close it.
Hi I am having an issue with trying to close a keyboard, it would seem that im doing something wrong with the close function but i cannot see what it is? have you any ideas? the surrounding divs close fine, i just get left with a floating unclosable keyboard :-)
HTML
CODE TO create the keyboard
the input calls a function called
test(this.id) and the input has an id of txt1
CODE TO close the keyboard
The text was updated successfully, but these errors were encountered: