How to set cookie for remembering data-toggle status for next page
Hello
Could you pls help me to set a cookie value in order to remember the button data toggle status on every page. Example I have a page where I have set of button for toggle the show hide some portion of the page base on the button toggle status. I need to remember the button toggle status when user go to next page through the page navigator.
The code is like as below;
Button toggle code
=============
  <div class="btn-group float-right btn-block" role="group" aria-label="Control Button set for show/hide">
                  <button  id="showHideArabic" data-toggle="button" aria-pressed="true" type="button" class="btn btn-md  btn-outline-dark active"><i class="fas fa-comment-dots"></i></i> আরবী</button>
                </div>
Buttons show/hide function run via the jquery as below in head;
=============================================
 <script>
        // For show / hide button 
$(document).ready(function(){
     $("#showHideArabic").click(function(){
    $("div.showArabic").fadeToggle(1000);
  });
});
</script>


