gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

Tree combobox ? #370

Open jlcbaci opened 8 years ago

jlcbaci commented 8 years ago

Hello,

The scripts run fine with my tree combobox and show long text but i have problem when i implement with ajax to combinated with combobox, and the ajax code run fine to call div select so when i click the first combobox is open to second combobox but this combobox show div whitout the script "Selectboxit".

AJAX code...

var divRes = document.getElementById('showdiv'); ....

Script Selectboxit //combobox 1 $(function(){ $("#opcfunclaves").selectBoxIt({ theme: "default", autoWidth: false }); }); //Combobox 2 $(function(){ $("#opcfunprin").selectBoxIt({ theme: "default", autoWidth: false }); }); ` LABEL 1

select id="opcfunclaves" name="opcfunclaves" onchange="mostrarfunprin()"

LABEL 2

id="showdiv" Here when i clic the first combobox is show data but no show the style selectboxit

select id="opcfunprin" name="opcfunprin"

Can you help me or any suggestion ?

thanks.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38012425-tree-combobox?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).