I use the Bootstrap Form Helpers Languages plugin on my site, and the problem is that with JS it generates almost the entire structure, and there is no way to change or add anything (except languages). The main problem is that it generates a list of languages with the a tag, but nothing happens when you click on them. I tried to add href attributes to them:
$("ul[role='option'] > li > a[data-option='pl_PL']").prop("href", "/index.php?lang=pl_PL"); $("ul[role='option'] > li > a[data-option='en_US']").prop("href", "/index.php?lang=en_US"); I also tried trigger () and click (...). In firebug you can see that they were added, but no action takes place. I looked through all the plugin code, but did not find anything that could block their robot. Website address: here (slightly under-smoked, problems with ssl, but the same problem on localhost). All site code: https://github.com/WELES777/PORTFOLIO.git