Sub divlist_Click (Params As Map)
Dim target As String = Params.Get("target")
'====== toggle checkbox =============
if target = activie then
if active.GetProp("checked").Value = True then
active.SetProp("checked", False)
else
active.SetProp("checked", True)
end if
end if
'===============================
If target.Contains("btnsubmit") Then
Dim input As JQueryElement = ws.GetElementById("active")
Log(input.GetVal.Value)
End If
End Sub