GoodBye alert()
I have been working with Javascript and AJAX quite a bit recently. I always used alert() to debug something. At least to know that the script was able to call the method or something. saveBtn = dojo.widget.createWidget(“Button”, {caption: “Save Settings”}, dojo.byId(“saveBtn”)); alert(saveBtn.caption); This is annoying & traditional way. I’m lazy to use Venkman. After doing [...]