Today there was such a problem: before that, the append
which was quietly used append
after moving a few lines of code, suddenly stopped working. I did not find the reasons and tried to first make a benchmark simple example:test.html
:
<html> <head> <script src="js/jquery-1.7.2.min.js"></script> <script src="js/test.js"></script> </head> <body> <h2>Greetings</h2> <div class="container"> exist </div> </body> </html>
test.js
:
$('.container').append('Test');
And even it does not work. Tell me, what exactly might be wrong in this example? I point out I do not understand what the hell happened.
div
time to appear. - Oleg Arkhipov