Find my JavaScript keypad solution in the attached file. Please do give me better suggestions/solution if you don't mind.
I included JavaScript code and commented some other code in the /public_html/components/com_ariquiz/assets/js/questions.js file for method AQ.questions.FreeTextQuestion draw function
and then I also added JavaScript functions to the head tag in my template's index.php
Although it is working from there I am not sure if it is the proper place to add the code to the template's index.php head tag.
Any replies on this?
Some adverse events:
* when typing the answer after question loaded without setting focus with cursor in the answer tab it is working perfectly on my laptop and Samsung 10" tablet,
- but on my mobile phone Huawei P8 lite it is typing double digits.
- On my son's 7" Lenovo tablet it gives error when I tap on the Enter to load next question. (maybe something wrong with my JavaScript)
See the quiz on speedskillsonline dot com
www.speedskillsonline.com