Children += '<td align="left" height="17" width="90%" style="cursor: hand" onclick="disab();showLay(\''+idIndex[_ChildNumber]+'\');RetrieveMail(\''+idIndex[_ChildNumber]+'\');ChangeItsParent1(\''+TreeNodeName+'\',\''+img+'\');saveLogId(\''+idIndex[_ChildNumber]+'\');">';
Children += ChildrenArray[_ChildNumber]+':</td>';
if(idIndex[_ChildNumber] == 2)
{
Children += '<td width="10%" align="left"><img src="' + root_path + 'images/select.gif" /></td>';
}
我想在点上showLay()函数时,可以把'images/select.gif'的图片换成另一个.要怎么办啊?
想用document.getElementById但是会出错.
Children += ChildrenArray[_ChildNumber]+':</td>';
if(idIndex[_ChildNumber] == 2)
{
Children += '<td width="10%" align="left"><img src="' + root_path + 'images/select.gif" /></td>';
}
我想在点上showLay()函数时,可以把'images/select.gif'的图片换成另一个.要怎么办啊?
想用document.getElementById但是会出错.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货