zurcxer Posted April 3, 2014 Share Posted April 3, 2014 How do pandajs experts will code this? I wanted to clear the contents of the container for a new sets of images. Quote Link to comment Share on other sites More sharing options...
enpu Posted April 3, 2014 Share Posted April 3, 2014 Try:for (var i = container.children.length - 1; i >= 0; i--) { container.removeChild(container.children[i]);} Quote Link to comment Share on other sites More sharing options...
zurcxer Posted April 3, 2014 Author Share Posted April 3, 2014 Great... it works.... Thanks enpu... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.