less than 1 minute read

Overview

Personal notes of hacking practices to do some task, typically a JavaScript/JS snippet.

Tips

    [
        ['dateStartSearch', '2024-02-09 00:00:00.0'],
        ['hourStartSearch', '8'],
        ['minuteStartSearch', '00'],
        ['dateEndSearch', '2024-02-12 00:00:00.0'],
        ['hourEndSearch', '23'],
        ['minuteEndSearch', '45'],
    ].forEach((id_v)=>{document.getElementById(id_v[0]).value=id_v[1]});
    document.getElementById('moreCondition').click()
    document.getElementById('equipmentNmSearch').previousElementSibling.checked = true
    document.getElementById('equipmentNmSearch').previousElementSibling.onchange()

Updated: