Advertisement
Axxxxxx

вызов_аякс

Aug 7th, 2017
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1.  
  2. <?
  3.  
  4. print_r($sectionId);
  5. print_r($arParams['AJAX_MODE']);
  6. print_r($arParams['AJAX_OPTION_JUMP']);
  7. print_r($arParams['AJAX_OPTION_STYLE']);
  8. print_r($arParams['AJAX_OPTION_HISTORY']);
  9. ?>
  10.  
  11. <script>
  12. (function($) {
  13. $(document).ready(function () {
  14. var t = setTimeout(function () {
  15. $.ajax({
  16. url: '/bitrix/components/up/filter/templates/happy/filter_ajax.php',
  17. cache: true,
  18. async: true,
  19. success: function (html) {
  20. $("#ajax_block2").html(html);
  21. }
  22. });
  23. }, 1000);
  24.  
  25.  
  26. });
  27. }(jQuery));
  28. </script>
  29. <div id="ajax_block2"></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement