0
Using the function eventAfterRender I’m trying to access a child element that exists, but using the function find()
, apparently not. Through the console, I can navigate to the child element as follows:
[0] (a.fc-time-grid-event.fc-v-event.fc-event.fc-start.fc-end.clicavel.rede)
children
[0] (div.fc-content)
children
[0] (div.fc-title)
children
[0] (img) <- esse é o elemento em questão
I tried in the following ways, but without success:
$(element).find('img');
$(element).find('.fc-title').child().first();
Using the second attempt, I can get to the . Fc-title element only, normally returning the element ($(element).find('.fc-title')
)
Remembering that the image element was added by the event title (Events)