09-21-2012 05:41 AM
Hmm... I think it's too easy.
I'll give it a try and tell you if it works.
09-24-2012 05:12 AM
Unfortunatly, myList[0].remove() is not working. I can't update my list items by deleting/inserting because I can only remove the selected item.
The clear() method in BBUI 0.9.4 is the solution. Even if it's not the best solution regarding the performance, I could clear() all items in the list and append refreshed items...
Tim, any idea when BBUI 0.9.4 will be available ?
09-24-2012 09:59 AM
I don't believe selecting a list item by using myList[0] will work.. that will just grab the first element in a list which could be a header or some other hidden comment dom element etc. To get the item you will want to select it by its id.
document.getElementById('mylistitemid').remove();