I am working on a Mobile HTML5 Application.
I have a field of type="number" then based on another fields value I want to change my Field’s type to “text”. This changes the on screen keyboard. I am using
document.getElementById('daField').type = "text";
Sometimes it works other times it stays as number. Its as if I need to shift the focus off of that field and then back.
Anyone have any ideas?
Thanks
Try this: