function createExportDialogCheckboxes() {
    var f = document.createElement('form');
    for (var index = 0; index < annotation.length; index++) {
        var l = document.createElement('label');
        var i = document.createElement('input');
        i.setAttribute('type', "checkbox");
        i.setAttribute('id', 'checkbox' + index);
        l.appendChild(i);
        l.innerHTML += annotation[index];
        f.appendChild(l);
        f.appendChild(document.createElement('br'))
    }

    var label = document.createElement('p');
    label.innerHTML = '<Strong>Select excluded annotations</Strong>';
    label.setAttribute('style', 'margin-bottom : 10px;');
    document.getElementById('printDialog').innerHTML = '';
    document.getElementById('printDialog').appendChild(label);
    document.getElementById('printDialog').appendChild(f);
}
/**
 * Add form to #printDialog which contains checkboxes which are defined in annotation array.
 */
Add form to #printDialog which contains checkboxes which are defined in annotation array.
Add form to #printDialog which contains checkboxes which are defined in annotation array .
function createExportDialogCheckboxes() {
    var f = document.createElement('form');
    for (var index = 0; index < annotation.length; index++) {
        var l = document.createElement('label');
        var i = document.createElement('input');
        i.setAttribute('type', "checkbox");
        i.setAttribute('id', 'checkbox' + index);
        l.appendChild(i);
        l.innerHTML += annotation[index];
        f.appendChild(l);
        f.appendChild(document.createElement('br'))
    }
    var label = document.createElement('p');
    label.innerHTML = '<Strong>Select excluded annotations</Strong>';
    label.setAttribute('style', 'margin-bottom : 10px;');
    document.getElementById('printDialog').innerHTML = '';
    document.getElementById('printDialog').appendChild(label);
    document.getElementById('printDialog').appendChild(f);
}
function createExportDialogCheckboxes ( ) { var f = document . createElement ( 'form' ) ; for ( var index = 0 ; index < annotation . length ; index ++ ) { var l = document . createElement ( 'label' ) ; var i = document . createElement ( 'input' ) ; i . setAttribute ( 'type' , "checkbox" ) ; i . setAttribute ( 'id' , 'checkbox' + index ) ; l . appendChild ( i ) ; l . innerHTML += annotation [ index ] ; f . appendChild ( l ) ; f . appendChild ( document . createElement ( 'br' ) ) } var label = document . createElement ( 'p' ) ; label . innerHTML = '<Strong>Select excluded annotations</Strong>' ; label . setAttribute ( 'style' , 'margin-bottom : 10px;' ) ; document . getElementById ( 'printDialog' ) . innerHTML = '' ; document . getElementById ( 'printDialog' ) . appendChild ( label ) ; document . getElementById ( 'printDialog' ) . appendChild ( f ) ; }
Add form to #printDialog which contains checkboxes which are defined in annotation array.
Add form to #printDialog which contains checkboxes which are defined in annotation array .