Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

search in array javascript

// easyui

function cekNilai9box(value,row){
    var getData = row.compare_nilai9box;
    var assesment = getData.split(',');
    var cek = assesment.find(e => e == row.nilai9box_value_ori);
    
    if(cek == undefined){
        return '<span style="color:red;">'+ value +'</span>';
    }else{
        return value;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #search #array #javascript
ADD COMMENT
Topic
Name
5+8 =