There is a file layout.php . In it, between the tags <head> jquery.js correctly connected (working link in the source code). When you connect an ajax request to layout.php , nothing is displayed on the page. I connect this way:
<div id="content"></div> <script> function show(){ $.ajax({ url: '/templates/tribune2/layouts/default/parser_mn.php', cache: false, success: function(html){ $("#content").html(html); } }); } $(document).ready(function(){ show(); setInterval('show()',600000); }); </script> I tried to prescribe the url in different ways, zero sense. If the specified code is inserted into the html document, then everything works correctly. Can you please tell me what am I doing wrong?
$variable - Alexander Gribennikov