EasyUI Forum
September 14, 2025, 07:26:14 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Component does not render  (Read 5237 times)
isaki
Newbie
*
Posts: 3


View Profile
« 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.
Logged
isaki
Newbie
*
Posts: 3


View Profile
« Reply #1 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... Sad

is it a bug? or what am i doing wrong?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!