jquery - how to store ajax response data into a cookie -
here i'm sending 1 ajax request ajax.php file,
<script> $.ajax({ type: "post", url: "ajax.php", cache: false, data:{date: ondate, session:timing, t:time}, beforesend:function(){ $('.book_table_right').html("<img src='<?php echo base_url();?>img/loader.gif'/>"); }, success: function(response){ $('.book_table_right').html(response); }, error: function(){ alert('error while sending request..'); } }); </script>
html
here i'm getting response , i'm showing response in div.book_table_right
but when refreshing again div.book_table_right getting empty.
for i'm thinking store response cookie,
but how, please can me..
thanks
Comments
Post a Comment