static.scripts.itemSelect.js Maven / Gradle / Ivy
/**为视图中的选择增加选中效果**/
var selectedFontColor="blue";
var selectedFontStyle="italic";
var selectedFontBackgroundColor="#e9f2f8";
function setSelectedRow(table,ele){
var rows = table.tBodies[0].rows;
if (rows.length <= 1) {
rows = table.rows;
}
// 确定选中的是第几列
var index=getSelectedIndex(ele);
//alert(index)
//alert(ele==rows[i].cells[3]);
for(var i=1;i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy