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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...