I am working on a small project that involves creating a keypad with buttons for all the digits, backspace, and decimal. When these buttons are clicked, they should populate a form field like a text box. The keypad will be located next to the form field as a link.
For this project, I prefer using Javascript or AJAX for the keypad functionality. It should also have a close button to minimize the popup keypad, similar to a calendar control seen on ticketing websites.
The main purpose of the keypad routine is simply to populate the form field when the buttons (digits) are clicked.
I need assistance in coding the keyboard routine. How do I go about designing the javascript? How can I include the buttons (for digits, decimal, and backspace) in the file? And how should I code it so that when the buttons are clicked, their values appear in the form field?
Any help provided would be greatly appreciated.
Thank you