Newbie to javascript and bootstrap and using v3.3.7. I have a form that loads, runs some javascript (jquery loads as expected), and then an ajax part page refresh fires which adds content to the DOM.
What I then observe is that despite the bootstrap-slider css and js resources loading ok and in correct order ie jquery then bootstrap then bootstrap-slider, my input fields tagged to become sliders do not change to sliders as hoped. They remain text fields. Performing a $('.slider').slider() action after form reloads does not help either.
The console shows no runtime errors. I am wondering if I were to 'fire' the slider init process after DOM has settled, maybe this would help ? Any suggestions where to look next would be most appreciated.
oncomplete. Its worth addingconsole.log($('.yourId').length)to see that jQuery is finding your element. Posting your page in the question might allow someone to spot an answer. Otherwise you could get into setting breakpoints in the Bootstrap code to track down the problem. – Keith C Aug 03 '16 at 09:09