Guest alanrf Posted August 17, 2008 Share Posted August 17, 2008 I am having a couple of problems making a form and its on-screen appearance behave consistently between browsers.I am using the maxLength property to specify expected input or output.A typical line, to accept up to four (numeric intended) characters input to the variable is<INPUT size=2 name=varname1 maxLength="4" /> This works fine in both FireFox and Explorer. A typical line to display a floating point result and show only the first four decimal places is <INPUT readOnly size=16 name=varname2 maxLength="6" /> This works fine in FireFox but not in Explorer. Why? Is there a way to resolve this, or is there some other method that I could use? Link to comment Share on other sites More sharing options...
djp1988 Posted August 17, 2008 Share Posted August 17, 2008 http://www.w3schools.com/htmldom/prop_text_readonly.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.