readonly geht nicht

master
Klaus Wendel 5 months ago
parent e127aa8d95
commit 4cf8fec990

@ -146,24 +146,24 @@ func GetCheckedRadioOrCheckbox(jsObject js.Value) (id, name, value string) {
}
func GetStatusFromBulkOfIds(dombase js.Value, ids []string) (result []struct {
id, name string
checked, disabled, readonly bool
value string
id, name string
checked, disabled bool
value string
}) {
for _, id := range ids {
tmpObject := dombase.Call(DOCUMENTS_METHOD_getElementById, id)
result = append(result, struct {
id, name string
checked, disabled, readonly bool
value string
id, name string
checked, disabled bool
value string
}{
id: id,
name: tmpObject.Get("name").String(),
checked: tmpObject.Get("checked").Bool(),
disabled: tmpObject.Get("disabled").Bool(),
readonly: tmpObject.Get("readonly").Bool(),
value: tmpObject.Get("value").String()})
//readonly: tmpObject.Get("readonly").Bool(),
value: tmpObject.Get("value").String()})
}
return

Loading…
Cancel
Save