I want to know if it is possible to disable a particular library for a particular div?
Actually I am having a webpage with a modal dialog. There are two select boxes. First one is outside of modal div, while second one is in the modal div.
The library I am using is unicorn js and unicorn tables js which implicitly calls
$('select').select2();
of jquery select2 js. Thus the library is invoked on all select elements on the page. This causes the select box to become disabled in modal. I removed the select box out of the modal and it works perfect. So I suspect the select js does not work well with modal dialogs(bootstrap modal dialogs to be particular).
So how do I go about in this scenario so that the select box in the modal is not affected by select js library?