I’m writing an Android app using Phonegap. I want to be able to press an image, for instance numbers from 0-9 and as an output receive the result in a text box.
For instance if I press image that states number one, I get “1” in my text-box.
How can it be done using html and JavaScript?
Using jQuery you can do it this way:
HTML
CSS
JavaScript
Fiddle: http://jsfiddle.net/kboucher/wJ9R8/