progressbar function not found
Hi all !
Well, I'm trying to use the the progressbar in a function like this:
- function showInfo(data){
obj = eval(data)
for ( var i = 0; i < obj.length; i++) {
list = String(obj[i]).split(",")
var clas = ""
out = ("<div class=\"ref\"> <div id=\"pb"+list[0]+"\"></div>")
//some data manipulation
$("#content").append(out)
test = "#pb"+list[0];
$(test).progressbar({value:list[4]});
}
}
But I always get "progressbar is not a function" exception. I double checked if the .js are included and they are ... Any suggestion on what is the problem ?
Thanks !