摘要:
<form> <fieldset> <legend>health information</legend> height: <input type="text" /> weight: <input type="text" /> </fieldset></form> optgroup <select> <optgroup label="Swedish Cars"> <option value ="vol
阅读全文
posted @ 2012-04-09 09:50
逍遥叹
阅读(141)
推荐(0)
编辑
摘要:
sort(); //对数组元素排序 <script type="text/javascript"> <!-- function order(a,b){return a-b;} a=new Array(33,4,1111,222); b=a.sort(); c=a.sort(order); alert(b); //--> </script>splice() //插入或替换数组的元素 <!-- var a=[1,2,3,4,5,6,7,8,9] c=a.splice(4); //alert(c); //5,6,7,8,9 c=a.sp.
阅读全文
posted @ 2012-04-09 09:42
逍遥叹
阅读(123)
推荐(0)
编辑