skip to Main Content

bootstrap selectjs is not working for dynamically appended value-Twitter bootstrap

Why bootstrap selectjs is not working for dynamically appended value. whenever i append new option from javascript it is not reflected to the live search. below is code snippet setTimeout(function(){ $('#demo').append('<option>India</option>'); console.log('appended'); },1000); <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.css" rel="stylesheet"/> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.3/css/bootstrap-select.css" rel="stylesheet"/> <script…

VIEW QUESTION

Show output not in an input-Twitter bootstrap

I created a slider, which fulfills my needs. But I do not want to show the output value in an input. Here is my Codepen: https://codepen.io/anon/pen/MOZGVx?editors=1010 $( document ).ready(function() { function update() { $optiona = $("#optiona").val(); $optionb = $("#optionb").val(); $totalsum…

VIEW QUESTION
Back To Top
Search