Keyboard
Keyboard copied to clipboard
Not able to get the entered value if user did not click on accept button and click anywhere on the page.
we cannot get the value of input field without click on accept button. **
base.close = function (accepted) { if (base.isOpen && base.$keyboard.length) { clearTimeout(base.throttled); var kbcss = $keyboard.css, kbevents = $keyboard.events, //val = accepted ? base.checkCombos() : base.originalContent; val = base.checkCombos(); // validate input if accepted if (accepted && $.isFunction(o.validate) && !o.validate(base, val, true)) { val = base.originalContent; accepted = false; if (o.cancelClose) { return; } }
** This code is in jquery.keyboard.js In the above code firstly the check the accepted value and its set when user click on accept button. How can manage this from ts?