Wed, 2012-02-22 13:51
I have a function as follows:
function restoreHeight(textboxid) {
var textbox = document.getElementById(textboxid);
textbox.style.height = "44";
textbox.style.fontSize="40px";
}
The last line does not work. fontSize doesn't seem to change. This is important because I want the input fields to enlarge when viewed on mobile phones. And while the height of the textbox does increase (line #2) the font that was typed in does not change. Maybe thats because it was typed before this function was called?