Advertisement
Sadchenko

Отправка AJAX запроса на URL

Jan 16th, 2023
1,178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.                           (function($) {
  3.                               $(document).ready(function(){
  4.                                 $("#checkBot").click(function(e) {
  5.                                     e.preventDefault();
  6.                                     $.ajax({
  7.                                         type: "GET",
  8.                                         url: "https://proriv.myshop.bz/request?f=cron&task=updatereports",
  9.                                     });
  10.                                 });
  11.                               });
  12.                           })(jQuery);
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement