<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>