Project description
Ie with AJAX inserts, the blocks begin to float and cease to function, you need to pull out the desired JS and transfer to the function.
In general, when you want to load a piece of HTML on ajax, you need js code that initializes something in this piece, transfer to the function - the second load() parameter. Then the initialization code will start immediately after downloading the piece.