few days ago I change my PHP version from 5.4 to 5.5 due to some code needed for render QR code. And today i found error in this function:
$(function changeStav() {
            $("#selPismoSet<?php echo $id;?>").change(function() {
                var del_id = $(this).attr("id");
                del_id = del_id.replace("selPismoSet","");
                var id = del_id;
                var val = $('#selPismoSet<?php echo $id;?> option:selected').val();
                $.ajax({
                    type: "GET",
                    url: "actions.php?action=changeStav",
                    data: 'id=' + id+ '&stav=' + val,
                    success: function(data){
                        e.preventDefault();
                        $('#content, #ok<?php echo $id;?>').html(data);
                        console.log();
                    }
                });
                return false;           
            });
        });
I dont know where is the problem. Its possible that error is due to change PHP version?

 
     
     
    