issue on page refresh when I send a value of $.post I have a page with 4 buttons on it and when I press a button the page only refreshs once and the rest of the buttons does not work any more. The idee is to refresh the whole frame where the button are in with every click.
<script>
$(document).ready(function() {
$("button").click(function(){
var status = $(this).attr('data-value');
$.post('', {status:status}, function(data){});
$("#refresh_frame").load('index.php #refresh_frame');
});
});
</script>