Friday 8 February 2019

javascript - Different in Load and

I have two divs which I´m doing a load by Ajax in everyone. If I write both like this.








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.







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?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...