Closed TheZoker closed 10 years ago
hi @TheZoker,
.progressbar()
on e.g. document readypercent_format
method. take a look: https://github.com/minddust/bootstrap-progressbar#percent_formatcombined sample:
$(document).ready(function() {
$('.progress .progress-bar').progressbar({
percent_format: function(percent) { return percent; }
});
});
But the percent_format does only change the output and not the input, right?
Here is a demo: http://demo.zoker.me/proBoot3/viewtopic.php?f=2&t=4
this has nothing directly to do with this lib but here you go:
var v = "75%";
var like_this = v.replace(/%/, "");
var or_this = v.substring(0, v.length - 1);
var and_even_this = v.slice(0, -1);
Hi there,
Two questions:
Thank you