Hi Mottie,
I'm working on a hobby project using your keyboard and have run into an issue.
I have the following code when the keyboard is being created:
change : function(e, keyboard, el)
{
checkWord(keyboard.$preview.val());
}
But sometimes Firebug shows the following error in the console:
TypeError: keyboard is undefined
And it points to the line of code inside the change callback.
I think this error is resulting the in the checkWord() function not being run, and it might also be causing another problem as well (when a number of divs are clicked, I have onclick handlers that have $("#keyboard").focus(); in them, but the focus isn't returned to the text input when the error shows up in the console).
Here is my page: http://tinyurl.com/bqddgjl
Do you have any idea why this might be happening?
Hi Mottie,
I'm working on a hobby project using your keyboard and have run into an issue.
I have the following code when the keyboard is being created:
But sometimes Firebug shows the following error in the console:
TypeError: keyboard is undefinedAnd it points to the line of code inside the change callback.
I think this error is resulting the in the checkWord() function not being run, and it might also be causing another problem as well (when a number of divs are clicked, I have onclick handlers that have
$("#keyboard").focus();in them, but the focus isn't returned to the text input when the error shows up in the console).Here is my page: http://tinyurl.com/bqddgjl
Do you have any idea why this might be happening?