87,922
社区成员
发帖
与我相关
我的任务
分享
<span class="pos" style="left: 321px;top: 141px;position:absolute; height:19px" onclick="go(this,this.title)" hidefocus=true title="白马港27"> 27 </span>
javascript:var aaa=document.getElementsByTagName("SPAN");alert(aaa.length);
id=<input id=c>
<br>
title=<input id=t>
<br>
<span class="pos" style="left: 321px;top: 141px;position:absolute; height:19px" onclick="go(this,this.title)" hidefocus=true title="白马港27"> 27 </span>
<script language="javascript">
<!--
function go(obj,tit){
document.getElementById("c").value=obj.className
document.getElementById("t").value=tit
}
//-->
</script>
id=<input id=s>
<br>
title=<input id=t>
<br>
<span id=27白马港 class="pos" style="left: 321px;top: 141px;position:absolute; height:19px" onclick="go(this,this.title)" hidefocus=true title="白马港27"> 27 </span>
<script language="javascript">
<!--
function go(obj,tit){
document.getElementById("s").value=obj.id
document.getElementById("t").value=tit
}
//-->
</script>
function go(obj,r){
if(r!=p.room){
p.cmd('gto '+r);
curObj=obj;
}
}