HI, we got a javascrip program that parse an html file in memory and then do some work on it and add the element to the active DOM.
When I try to convert an <select></select> contained in a jQuery variable in a KendoDropDown list, a strange thing append.
if I use the "normal way" to convert the select in KendoDropdown. In this case the <select> is aleready in the active DOM:
I got this result:
Now, if I try to convert it from memory:
where $srcElem is a jQuery DOM object that containt
I got this result in the active DOM:
I am doing someting wrong...
When I try to convert an <select></select> contained in a jQuery variable in a KendoDropDown list, a strange thing append.
if I use the "normal way" to convert the select in KendoDropdown. In this case the <select> is aleready in the active DOM:
<select id="testSel"></select>$('#testSel').kendoDropDownList();<span class="k-widget k-dropdown k-header" style="" unselectable="on" role="listbox" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-owns="testSel_listbox" aria-disabled="false" aria-readonly="false" aria-busy="false"> <span class="k-dropdown-wrap k-state-default" unselectable="on"> <span class="k-input" unselectable="on"> </span> <span class="k-select" unselectable="on"> <span class="k-icon k-i-arrow-s" unselectable="on">select</span> </span> </span> <select id="testSel" data-role="dropdownlist" style="display: none;"></select></span>Now, if I try to convert it from memory:
$srcElem.kendoDropDownList();<select id="test2Sel" data-acteur="SELTHEME"></select><select id="test2Sel" data-acteur="SELTHEME"> <select id="test2Sel" data-acteur="SELTHEME" data-role="dropdownlist" style="display: none;"></select></select>