Its not showing my script.
dojo.require("dojo.widget.Dialog");
var dlg1;
function byId(id)
{
return document.getElementById(id);
}
dojo.addOnLoad(function init() {
dlg1 = dojo.widget.byId("compareDialog");
var btn1 = document.getElementById("compare");
var btn2 = document.getElementById("cancelcomp");
dlg1.setCloseControl(btn1);
dlg1.setCloseControl(btn2);
});
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049966#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...