HTML часть
<span id="abcd">
<input type="text" disabled="true" dojoType="dijit.form.ValidationTextBox" id="someId11" />
</span>
<div dojoType="dijit.Tooltip" connectId="someId11" jsId="tt1" label = "Hello" ></div>
JS PARt
<script>
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dijit.Tooltip");
dojo.require("dijit.TooltipDialog");
dojo.require("dojox.fx");
var dialog;
dojo.addOnLoad(function() {
dojo.connect(dijit.byId('someId11').domNode,'mouseenter', function(){
console.log("HI")
tt1.open(this)
})
dojo.connect(dojo.byId('abcd'),'mouseleave', function(e){
//e.preventDefault ();
//e.stopPropagation ();
tt1.close();
console.log("HI2")
//return;
})
tt1.addTarget(dojo.query('input', dijit.byId('someId11').domNode))