function openRadWindow() {
var id = "";
var c_content = document.getElementsByClassName("c_content");
var table = c_content[0].getElementsByTagName("table")[0];
var rows = table.getElementsByTagName("tr");
for(var i=0;i<rows.length;i++) {
var checkbox = rows[i].cells(0).childNodes[0];
var BookingID = rows[i].cells(1).childNodes[1].childNodes[0].textContent;
if(checkbox.checked) {
if(id.length>0) {
id += "," + BookingID;
}
else {
id += BookingID;
}
}
}
alert('window.radopen("/Default.aspx?tabid=" + tab + "&ctl=multiEdit&mid=" + mid + "&BIDs="' + id + ', "RadWindow3");');
//if(id.length>0) {
//window.radopen("/Default.aspx?tabid=" + tab + "&ctl=multiEdit&mid=" + mid + "&BIDs=" + id, "RadWindow3");
//}
}
|