Page 1 of 1

Mask Input 2

PostPosted: Sat Apr 27, 2013 3:39 am
by linb
   
Class('App.tech_form_f2', 'xui.Com',{
Instance:{
iniComponents:function(){
// [[code created by CrossUI RAD Tools
var host=this, children=[], append=function(child){children.push(child.get(0))};

append((new xui.UI.Input)
.setHost(host,"input2")
.setLeft(210)
.setTop(70)
.setWidth(260)
.setTips("Input please")
.setTipsErr(": (")
.setTipsOK(": )")
.setTipsBinder("divB1")
.setMask("(111) aaa-11%$1")
);

append((new xui.UI.Div)
.setHost(host,"div13")
.setLeft(60)
.setTop(70)
.setWidth(130)
.setHeight(20)
.setHtml("(111) aaa-11%$1")
);

append((new xui.UI.Div)
.setHost(host,"divB1")
.setLeft(490)
.setTop(70)
.setWidth(230)
.setHeight(20)
);

return children;
// ]]code created by CrossUI RAD Tools
}
}
});