I am having a scenario where i have to refresh the toolbar. i was trying it with firing loadXML() again … but it is noy working.
its able to fetch the new content for the toolbar but not able to remove the old content … new content is getting added to the old content .
but i want to remove the old and show the new content .
You can do it using script like this: