EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: isaki on July 31, 2016, 07:40:08 PM



Title: Component does not render
Post by: isaki on July 31, 2016, 07:40:08 PM
Hi everybody

i have this code in js:

Code:
var progressBar = '<div id="innerProgress_'+data.length+'" class="easyui-progressbar" style="width:150px;"></div>';
$("#"+idBox).append(f[0].files[i].name+"&nbsp;&nbsp;"+progressBar+"<br>");
$("#innerProgress_"+data.length).progressbar({
    value: 0
});

in firebug console the HTML code appears as i expect but the page does not show the progressbar; i hope somebody can help me.

thanks.


Title: Re: Component does not render
Post by: isaki on July 31, 2016, 09:09:45 PM
i found out that if i change the id of the progress for a static one, it works!!!
But i need it dinamyc... :(

is it a bug? or what am i doing wrong?