Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Change MaxLength of WEBNUMERIC EDIT
posted

hi

How to change maxlength value through javascript for WebNumericEdit control.

I have written

igedit_getById(id).Element.setAttribute('maxlength', length);

or

igedit_getById(id).Element.setAttribute('maxlength', length);

or

document.getElementById(id).setAttribute('maxlength', length);

 where id is name of the control.

I have tried all three statement but I am not getting right value.

Thanks,

Dhaval