text: $(function () {
      //Hapus Kategori
      $('.hapusClick').on('click',function () {
          const id = $(this).data('id');
          $('.yesHapusClick').on('click',function () {
              $(this).attr('href',"categories/delete/"+id);
          });
      })
      //Hapus Produk
      $('.hapusClickP').on('click',function () {
          const id = $(this).data('id');
          $('.yesHapusClickP').on('click',function () {
              $(this).attr('href',"product/delete/"+id);
          });
      })
      //Hapus Produk Image
      $('.hapusClickPImage').on('click', function () {
          const id = $(this).data('id');
          $('.yesHapusClickImage').on('click', function () {
              $(this).attr('href', "../../../../admin/product/images/delete/" + id);
          });
      })
      //Hapus User
      $('.hapusUser').on('click', function () {
          const id = $(this).data('id');
          $('.yesHapusUsers').on('click', function () {
              $(this).attr('href', "../../../../admin/users/delete/" + id);
          });
      });
      //Hapus Role
      $('.hapusRole').on('click', function () {
          const id = $(this).data('id');
          $('.yesHapusRole').on('click', function () {
              $(this).attr('href', "../../../../admin/role/delete/" + id);
          });
      });
      //Hapus Slider
      $('.hapusSlider').on('click', function () {
          const id = $(this).data('id');
          $('.yesHapusSlider').on('click', function () {
              $(this).attr('href', "../../../../admin/slider/delete/" + id);
          });
      });
  })
  