Thanks,
John
Code: Select all
//My table entry for the checkbox
echo("<input type='checkbox' name='foo[]' value='$fldMS_Key' onclick='funcCheckBIAB($RowCnt)'> </td>\n");
Code: Select all
function funcCheckBIAB(MyRow) {
var TestX = "X";
//Here I am just checking to make sure column 6 is correct and it is.
TestX = document.getElementById("Table_UpdateSongs").rows[MyRow].cells[6].innerHTML;
//I am testing to see if the if test detects that the checkbox is true
if (document.getElementById("Table_UpdateSongs").rows[MyRow].cells[6].checked == true) {
TestX = "true"; //this statement never gets executed
}
//This code is working fine. If I can get the above if statement to work I will nest this code inside the above if statement
var BIABfile = document.getElementById("Table_UpdateSongs").rows[MyRow].cells[9].innerHTML;
var BIABFILERight = Right(BIABfile,6);
if (BIABFILERight == 'NA</a>') {
CookieName = "YCSJ-No-BIAB-FILE";
PopupMessage = "You have not entered a BIAB file name.";
funcDialogPopup(CookieName,PopupMessage);
return;
}
}