No replies
gidmeister
gidmeister's picture
Offline
Regular
NY
Last seen: 10 weeks 1 day ago
NY
Timezone: GMT-4
Joined: 2011-03-01
Posts: 47
Points: 93

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?