There is a sumselect library.

<ol border="1" cellspacing="0" cellpadding="0" id="selectable" align="center"> <li class="ui-state-default" vid=1>1</li> <li class="ui-state-default" vid=2>2</li> <li class="ui-state-default" vid=3>3</li> </ol> <script type="text/javascript" src="./js/datapik.js"></script> 

I have this code. so it works. but when you try to bring the file connection down, it breaks down. I do not understand what could be the problem. Tell me who faced MB

  • It would be nice to clarify, maybe there is an error text in the browser console. Perhaps you have several js files that are dependent on each other and they should be loaded in a certain order that you violated by moving the script down. - Sergey Glazirin
  • @AmirOFF I think you are trying to work with library methods before connecting them. - Raz Galstyan
  • Seichas saw this logic. biblioteka toli jquery.sumoselect.min.js toli bootstrap-select. takes my code. which is above and transforms it into divas. adding your classes and so on. and apparently when it inserts it in some way (then the creak is loaded again) is obtained if I take the script from the block. then it will not reload again and the new html is not visible for js question how to solve this reboot js? - AmirOFF
  • te dum is built then js is loaded and if after a full load of js to make changes, for example, add a new block. then js will not see him how to solve such moments? don't restart all js - AmirOFF
  • Do you need more than 10 underlings for one caste? - AmirOFF

0