NYCPHP Meetup

NYPHP.org

[nycphp-talk] html question

Michael Southwell southwell at dneba.com
Mon Sep 1 21:43:52 EDT 2003


At 05:03 PM 9/1/2003, you wrote:
>I am trying to get the "maxsize" attribute to work in the input tag, but 
>am having problems. IE 6 appears to ignore it.
>
>For example in,
>
><input type="text" name="phone" size="15" maxsize="15">
>
>the text box allows input of 16 or more characters.  Has anyone else 
>noticed this behavior?  Is there a way to work around it?

you are confusing the two attributes "size" (which determines the size of 
the input box in pixels) and "maxlength" (which determines the number of 
characters allowed to be typed into the box).

>
>
>Peter Lehrer
>
>_______________________________________________
>talk mailing list
>talk at lists.nyphp.org
>http://lists.nyphp.org/mailman/listinfo/talk

Michael G. Southwell =================================
DNEBA Enterprises
81 South Road
Bloomingdale, NJ 07403-1419
973/492-7873 (voice and fax)
southwell at dneba.com
http://www.dneba.com
======================================================





More information about the talk mailing list