{"action":"opened","issue":{"url":"https://api.github.com/repos/oskca/sciter/issues/10","labels_url":"https://api.github.com/repos/oskca/sciter/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/oskca/sciter/issues/10/comments","events_url":"https://api.github.com/repos/oskca/sciter/issues/10/events","html_url":"https://github.com/oskca/sciter/issues/10","id":122049118,"number":10,"title":" Error with func (e *Element) Insert(el *Element, index int) error","user":{"login":"josephbudd","id":11460286,"avatar_url":"https://avatars.githubusercontent.com/u/11460286?v=3","gravatar_id":"","url":"https://api.github.com/users/josephbudd","html_url":"https://github.com/josephbudd","followers_url":"https://api.github.com/users/josephbudd/followers","following_url":"https://api.github.com/users/josephbudd/following{/other_user}","gists_url":"https://api.github.com/users/josephbudd/gists{/gist_id}","starred_url":"https://api.github.com/users/josephbudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephbudd/subscriptions","organizations_url":"https://api.github.com/users/josephbudd/orgs","repos_url":"https://api.github.com/users/josephbudd/repos","events_url":"https://api.github.com/users/josephbudd/events{/privacy}","received_events_url":"https://api.github.com/users/josephbudd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-14T14:05:32Z","updated_at":"2015-12-14T14:05:32Z","closed_at":null,"body":" The log print that i get from the code below is:\r\n\"el.Insert(ul, 0) SCDOM_INVALID_HANDLE: SciterInsertElement\".\r\n\r\nI'm using Sciter Version: 30003 6\r\n\r\ngo version 1.5.2\r\n\r\n```\r\n\tel, err := this.Root.SelectFirst(id)\r\n\tif err == nil {\r\n\t\tclearElement(el)\r\n\t\tif errorcount > 0 {\r\n\t\t\t// add the new errors or messages.\r\n\t\t\t// ul element\r\n\t\t\tul, err := sciter.CreateElement(\"ul\", \"\")\r\n\t\t\tif err != nil {\r\n\t\t\t\tlog.Printf(\"sciter.CreateElement('ul', '') %s\", err.Error())\r\n\t\t\t\treturn\r\n\t\t\t}\r\n\t\t\terr = el.Insert(ul, 0)\r\n            if err != nil {\r\n                log.Printf(\"el.Insert(ul, 0) %s\", err.Error())\r\n                return\r\n            }\r\n```\r\n"}}