Open ying911008 opened 3 years ago
I think you would need to provide more information here like: what exactly doesn't work or what do you expect versus what you actually see/encounter. Also, is there a reason you chose to do this in Go rather than script?
It's not that simple. In script, the <select>
has an options
property that holds the list of <option>
: https://sciter.com/docs/content/behaviors/select.htm
As for the native code - there might be a problem with adding <option>
directly to the list, but I am not sure.
hello I want to add some, my code
in html :
<select id="list"></select>
in go:
It can't work, how to do it?