maxlength in input object
hi. how do i limit length of input object. in normal html, it is done via maxlength. setattribute(maxlength,5) does not work when i tried it.
jc
August 14,
var obj = new AW.UI.Input;
obj.getContent("box/text").setAttribute("maxlength", 2);
document.write(obj);
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021