View Single Post
Old 05-15-2011, 03:39 AM   PM User | #11
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
I quite like
Code:
var addedBefore = document.getElementById('addedItems');
while (addedBefore.firstChild) {
    addedBefore.removeChild(addedBefore.firstChild);
    
}
but there are a few ways to do this
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote