Why does on in dojo work with jQuery but not with JavaScript events?

2448
0
08-12-2015 01:46 PM
ChrisSergent
Regular Contributor III

I had a statement like this as I referenced the ArcGIS API for JavaScript:

on(document.getElementById('ownerAddress'), 'focusin', getElementId);

which references the focusin event in jQuery, but I could not use

onfocus event from JavaScript. Why is this?

0 Kudos
0 Replies