Jump to content

maxLength issues


Guest alanrf

Recommended Posts

Guest alanrf

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...