I find it difficult to select the value "style =: width: 10%" in jquery for the progressbar element in the bootstrap.
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 10%;"> <span class="sr-only">0% Complete</span> </div>
This is what I have tried so far $(".progress-bar[style*=width]");, but it returns the entire div.
My goal is to target this value and change it with Ajax.
Here is the jsfiddle link for your reference.
thanks
Deano source
share