There's a sample here which might give you some pointers as to what's possible:
http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/framework_jquery
Note that this sample still uses dojo.connect.
But do u know the below code can write it on Jquery.
I accept.
But do u know the below code can write it on Jquery. Shall I have Jquery code for the same.
dojo.connect(map, "onLoad", function() {
//after map loads, connect to listen to mouse move & drag events
dojo.connect(map, "onMouseMove", showCoordinates);
dojo.connect(map, "onMouseDrag", showCoordinates);
});
I
though it's not recommended, if you really have to avoid dojo.connect, you can simply override the event with the function as events are functions essentially.
For example, you can replace
dojo.connect(map, "onExtentChange", showExtent);
as:
map.onExtentChange = showExtent;