这段javascript代码中 this.x!="1" 是什么意思?

<script language="javascript"><!--function senfe(o,a,b,c,d){ var t=document.getElementById(o).getElementsByTagName("tr"); for(var i=0;i<t.length;i++){ t[i].style.backgroundColor=(t[i].sectionRowIndex%2==0)?a:b; t[i].onmouseover=function(){ if(this.x!="1")this.style.backgroundColor=c; } t[i].onmouseout=function(){ if(this.x!="1")this.style.backgroundColor=(this.sectionRowIndex%2==0)?a:b; } }}--></script>
2026年09月20日 18:17
有3个网友回答
网友(1):

this 代表当前方法中的对象即 t[i],this.x 指的是它的x的属性,this.x != "1"指的是当它的x的属性值不为“1”的时候

网友(2):

孤立的看,this.x没什么意义.

网友(3):

t[i]的x坐标