How do i find if a toggle switch is checked or unchecked. I have a toggle switch in a column of a slickgrid table. I am able to get the row data like this: table_LoadDataGrid.cell(Rowid, Colid).data() which fetches the following in console:
`<label class="switch"><input type="checkbox" onchange="lockunlock('3', 2);"> <span class="slider round"></span></label>`
I am trying to get the status of the toggle so I can send it as data for ajax call. Please suggest how to achieve it.