{"id":2520,"date":"2022-08-30T15:25:33","date_gmt":"2022-08-30T15:25:33","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/28\/kendo-ui-adding-menu-items-at-runtime-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:33","modified_gmt":"2022-08-30T15:25:33","slug":"kendo-ui-adding-menu-items-at-runtime-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/kendo-ui-adding-menu-items-at-runtime-collection-of-common-programming-errors\/","title":{"rendered":"Kendo UI Adding Menu Items at runtime-Collection of common programming errors"},"content":{"rendered":"<p>I am using Kendo UI Mobile and using a Drawer via HTML \/ JS.<\/p>\n<p>My drawer works fine but I would like to add items at runtime.<\/p>\n<p>Here is my code:<\/p>\n<pre><code>LoadMenu: function () {\n        var elem = $(\"#MenuUL\");\n\n\n        elem.append(\"<\/code><\/pre>\n<li km-group-container=\"\"><code>\"); for (var MenuGroup = 0; MenuGroup<\/code><\/li>\n<p id=\"rop\"><small>Originally posted 2014-01-28 10:03:09. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I am using Kendo UI Mobile and using a Drawer via HTML \/ JS. My drawer works fine but I would like to add items at runtime. Here is my code: LoadMenu: function () { var elem = $(&#8220;#MenuUL&#8221;); elem.append(&#8221; &#8220;); for (var MenuGroup = 0; MenuGroup Originally posted 2014-01-28 10:03:09.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2520","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2520"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2520\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}