I have a select field with id appointment_stylist_id
. For some reason, the first one of these returns my element but the second one returns undefined
:
console.log(dojo.byId('appointment_stylist_id'));
console.log(dijit.byId('appointment_stylist_id'));
Any idea why?