function Close() 
{

    $('.mask').hide();
    $('.window').hide();
}


function display() {


    $('.mask').css({ 'width': 1700, 'height': 1500 });
    $('.mask').fadeIn(100);
    $('.mask').fadeTo("fast", 0.8);
    $('.window').css('top', 200);
    $('.window').css('left', 375);
    $('.window').css('display', 'inline');
    $('.window').fadeIn('slow');

}

function display1() {


    $('.max').css({ 'width': 1500, 'height': 900 });
    $('.max').fadeIn(100);
    $('.max').fadeTo("fast", 0.8);
    $('.wind').css('top', 200);
    $('.wind').css('left', 375);
    $('.wind').css('display', 'inline');
    $('.wind').fadeIn('slow');

}

function Close1() {

    $('.max').hide();
    $('.wind').hide();
}

function showDataRow(rowContainerId) {

    var childControlsArray = document.getElementById(rowContainerId).childNodes;

    var empId, empName, empAge, empBasicPay;

    for (var i = 0; i < childControlsArray.length; i++) {

        if (childControlsArray.item(i).id == 'dvEmpId') {
            empId = childControlsArray[i].innerHTML;
        }
        else if (childControlsArray.item(i).id == 'dvEmpName') {
            empName = childControlsArray.item(i).innerHTML;
        }
        else if (childControlsArray.item(i).id == 'dvEmpAge') {
            empAge = childControlsArray.item(i).innerHTML;
        }

    }

    //document.getElementById('dvEmployPopup').innerHTML = empId + '  ' + empName + '  ' + empAge + '  ' + empBasicPay;

    //document.getElementById('txtEmpId').value = empId.trim();
    // document.getElementById('SupplierNameTxt').value = empName.trim();
    document.getElementById('ChangeDisplayTxt').value = empAge.trim();


    $('.max').css({ 'width': 1500, 'height': 1437 });
    $('.max').fadeIn(100);
    $('.max').fadeTo("fast", 0.8);
    $('.wind').css('top', 287.5);
    $('.wind').css('left', 409.5);
    $('.wind').css('display', 'inline');
    $('.wind').fadeIn('slow');


    return false;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.