The select2 plugin triggers a change event on the source (hidden) item.
But when working with different versions of jQuery on the page, the change event of apex.jQuery ns is not triggered and cascading selectlist do not work anymore.
To fix this we can check if the versions of $ and apex.jQuery are different and still trigger the change event in the apex.jQuery ns.
The select2 plugin triggers a change event on the source (hidden) item. But when working with different versions of jQuery on the page, the change event of apex.jQuery ns is not triggered and cascading selectlist do not work anymore. To fix this we can check if the versions of $ and apex.jQuery are different and still trigger the change event in the apex.jQuery ns.