1.常用方法 // 数组构造 var a = new Array(20); // 长度为20的数组 var b = new Array('red', 'blue', 'white'); var c = ['red', 'blue', 'white']; // 推荐 var d = []; // length 不是只读,能改变数组长度 var e = [1, 2, 3]; e.length = 1; console.log(e); // [1] // 转换方法 var f = ['red', 'b…
http://www.cnblogs.com/YouXianMing/p/3793913.html layer 不能自动autolay, 只能在viewDidLayout里面设置宽度 - (void) viewDidLayoutSubviews { [super viewDidLayoutSubviews]; //if you want superclass's behaviour... // resize your layers based on the view's new frame se…
In JSF, "h:selectOneRadio" tag is used to render a set of HTML input element of type "radio", and format it with HTML table and label tag. //JSF... <h:selectOneRadio value="#{user.favColor1}"> <f:selectItem itemValue…