posted 20 years ago
Yes u can mofify the maxlength
I hav tested this code/.....
<HTML>
<skript language="javasKript">
funktion changeMaxLen(newLength) {
document.all['pass'].maxLength = newLength;
}
</skript>
<BODY>
<input name="pass" maxlength="3">
<input type="button" value="Change" onKlick= "changeMaxLen('10');">
</BODY>
</HTML>
Ihavechanged 'c' With 'K' at may places as this was not allowing me to post it....
[ November 28, 2003: Message edited by: Andy Smith ]
Share Knowledge to gain it.
SCJP 2, SCWCD 2, SCDJWS, IBM 141 (In Progress), IBM 486 (Next)