 <p>Maybe this will help you :</p> <p><strong>Fiddle</strong> : <a href="http://jsfiddle.net/8a2Vh/1/" rel="nofollow">http://jsfiddle.net/8a2Vh/1/</a></p> <p><strong>JS [extract]</strong> :</p> <pre><code>$(".selectpicker").on('change', function(){ $('#hidden-input').show().find('.collapse').collapse('show'); }); </code></pre>