str = 'things';
str = str.slice(0,1).toUpperCase()+str.slice(1);
if (confirm("") ) { alert("Good choice"); } else { alert(" 那你就留在原地"); }
Create an Array An array can be created in three ways. The following code creates an Array object called myCars: 1: Regular: var myCars=new Array(); myCars[0]="Saab"; myCars[1]="Volvo"; myCars[2]="BMW"; 2: Condensed: var myCars=new Array("Saab","Volvo","BMW"); 3: Literal: var myCars=["Saab","Volvo","BMW"];
[JQUERY] SELECTOR Attribute Equals Selector [name="value"]
No comments:
Post a Comment