javascript - jquery uses the append() method to add, for example, easyui's combotree to make a tree-shaped drop-down box. Please help.
为情所困
为情所困 2017-05-19 10:47:20
0
3
565

Hello everyone, I am new to jquery and easyui. At present, I want to implement a function. Click "Add Button" and a selectable tree drop-down box will pop up for selection and submission.
The current implementation method is to declare an element and then append it to the form. But the pop-up drop-down box cannot pop up the tree map.

The current phenomenon is that the select written directly in the html works well, but the select added through the add button cannot be clicked (the same for org and org2). The styles of the two are even different, as shown below:

Please give me some advice on how to make the drop-down box generated by add work. Thank you very much~

为情所困
为情所困

reply all(3)
给我你的怀抱

I know what’s going on...You have to create the element first and then declare the combotree attribute, otherwise it won’t load...

刘奇

Open the debugging tool and find out the reason

洪涛

Send the source code and take a look

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!