Closed TongxiJi closed 7 years ago
A bit more details? OS, Sciter version, html code to reproduce (or does it always happen and everywhere?)
ui:
<button id="native" data-type="1">Native Handler Button</button>
golang:
el, err := root.SelectFirst("#native") if err == nil { el.Attr("data-type") //panic: runtime error: index out of range }
Thanks, I'll look on it.
Fixed, download a new version from the github.
use elementl.Attr(string) to get the value , but panics with index out of bounds.