I have two divs which I´m doing a load by Ajax in everyone. If I write both like this.
<div id="informCandidacyId"/>
<div id="idDivFiles"/>
The load process of both happens because I can debug the calls to my controllers, but onyl one view is added to the DOM.
In the other hand if I write the divs like this.
<div id="informCandidacyId"></div>
<div id="idDivFiles"></div>
The both load calls works perfectly.
So my question is, what is the difference when we are loading html code between close the tag in the declaration or do it in another tag?