When using Ajax to load two divs, I discovered an interesting difference in the way they are written. If I write them like this:
<div id="informCandidacyId"/>
<div id="idDivFiles"/>
Although both divs are being loaded, only one view is added to the DOM.
However, when I write the divs like this:
<div id="informCandidacyId"></div>
<div id="idDivFiles"></div>
Both load calls work perfectly and display the expected content.
So my question is, what exactly is the difference between closing the tag within the declaration versus using another tag?