DOM

document.title;
document.URL;
document.referrer;
document.domain;
getElementById();
getElementsByName();
document.anchors.length;
document.anchors[0].innerHTML;
document.forms.length;
document.forms[0].name;
document.getElementById("Form1");
document.images.length;

document.getElementById("myForm").reset();
document.getElementById("myForm").disabled=true;

 

x=event.clientX;
y=event.clientY;
event.keyCode;
event.screenX;
event.screenY;
event.shiftKey ==1;

document.getElementById("myForm").reset();
document.getElementById("myForm").disabled=true;
document.getElementById("myForm").checked=true;
document.getElementById("myForm").checked=false;
document.getElementById("myForm").value=document.getElementById("myForm").value.toUpperCase();
document.getElementById("myForm").value=browser;
document.getElementById("myForm").submit();
document.getElementById("myForm").select();
document.getElementById("myForm").options[mylist.selectedIndex].text();
document.getElementById("compaman").height="270";
document.getElementById("compaman").width="270";
document.getElementById("compaman").src="/i/eg_smile.gif";
window.loaction
window.loaction.reload();
x=event.clientX;
y=event.clientY;
event.keyCode;
event.screenX;
event.screenY;
event.shiftKey ==1;

posted @ 2012-09-12 09:58  为了这有限的生命  阅读(168)  评论(0编辑  收藏  举报