Carregando...
TagriaLib Documentation v4
maskOnKeypress
																												<html:view>
			<html:input name="teste"/>
			<html:mask mask="(00) 0000-00000" attachTo="teste">
				<html:maskOnKeypress>
				    var masks = ['(00) 0000-00000', '(00) 00000-0000'];
					mask = (value.length > 14) ? masks[1] : masks[0];
					\$('#'+\$(field[0]).attr('id')).mask(mask,options);
				</html:maskOnKeypress>
			</html:mask> 
		</html:view>