var name="alone88"; document.write(name);
2018-05-140個贊
?? ??? ??:JavaScript? ?? ???: ??? ??? ?? ??? ????
to.LowerCase()轉(zhuǎn)換成小寫?
2018-05-150個贊
?? ??? ??:JavaScript ??? ?? ?? ??: ?? ?? ?? ??? ?? ?? ?? ?? ?????.
除了undefined和null其Ta都是我的對象?
2018-05-150個贊
?? ??? ??:?? ?? ??, ??, ?? ? ??: ??? ???? ???? ???? ??
## **JavaScript增刪改查** 第一種 .(點操作符) ```JavaScript 不加='',則是查看內(nèi)容,加了就是增加或修改 var h2 = document.getElementsByTagName('h2');//先定義變量 h2.ClassName ='class'//增加或修改Class的內(nèi)容 h2.Id = 'id'//增加或修改id的內(nèi)容 h2.style.color ='red' //增加或修改style的內(nèi)容,style. ``` 第二種:Attribute(屬性) ``` h2.getAttribute('屬性名')//獲取屬性; h2.setAttribute('屬性名','要修改的內(nèi)容')//修改 h2.removeAttribute('屬性或元素')//刪除 ``` 第三種:attributes ``` h2.attributes//獲取屬性 h2.attributes[索引]; h2.attributes['屬性']; h2.attributes['屬性'].nodeType='修改的內(nèi)容'//修改 h2.attributes.removeNamedItem('屬性')//刪除內(nèi)容
2018-05-181個贊
?? ??? ??:?? ?? ?? ?? ? ??: ?? ??? ?? ???? ?? ????.
var Value =document.getElementsByTagName("標簽"); for(var i = 0;i<li.length;i++){ li[i].style.color="" }
2018-05-190個贊
?? ??? ??:?? ??(1): Apache ??? ?? ? ???
1:DocumentRoot <Directory>
2018-05-210個贊
?? ??? ??:?? ??(2): PHP ? Apache ??
loadModule
2018-05-210個贊
?? ??? ??:??? ?? ?? ???? Emmet ??? ?? ?
非常強大
$,@添加序號
2018-05-210個贊