HotelWeb/js/fwcx.JS
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var attaIdx = 0;
var IsIE;
var ExistAttaInfo = new Array();
//Select or deselect designated check box
function select_deselectAll (chkVal, idVal) {
var frm = document.forms[0];
// Loop through all elements
for (i=0; i<frm.length; i++) {
// Look for our Header Template's Checkbox
if (idVal.indexOf ('CheckAll') != -1) {
// Check if main checkbox is checked, then select or deselect datagrid checkboxes
if(chkVal == true) {
frm.elements[i].checked = true;
} else {
frm.elements[i].checked = false;
}
// Work here with the Item Template's multiple checkboxes
} else if (idVal.indexOf ('DeleteThis') != -1) {
// Check if any of the checkboxes are not checked, and then uncheck top select all checkbox
if(frm.elements[i].checked == false) {
frm.elements[1].checked = false; //Uncheck main select all checkbox
}
}
}
}
//End of select_deselectAll
//-----------------------------------------------------------------------------------------------------------
function IsIEBrowser() {
if (navigator.userAgent.indexOf("MSIE") != -1) {
return true;
} else {
return false;
}
}
//----------------------------------------fileexist()----------------------------------------------------------
//edited by
function exist(fileId) {
var file = document.getElementById(fileId);
var result = false;
if ( file !=null ) {
if ( file.value != null && file.value != "") {
result = existFile( file);
}//if
}
if( result)
{
alert("此附件已粘贴, 如果在原有附件列表中并已删除,请取消删除;\n如果在新粘贴附件列表中,请先删除再粘贴。");
//--attaIdx;
//document.getElementById( "idAttachOper"+ attaIdx).click();
}
}//end of function
function getfilename( attaName ) {
var s = attaName.lastIndexOf( '\\' );
return attaName.substr(s+1, attaName.length - s -1);
}
后面还有 155 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。