java
sql
html
php
iphone
css
ajax
python
linux
regex
mysql
multithreading
flash
html5
facebook
cocoa
php5
jsp
postgresql
dom
Destroying the old one creating and displaying a new one is the correct way to do this. This is a common pattern when developing apps using the App SDK. If you provide a code snipped along with the dojo error you are getting the community can probably be of better assistance.