how to save a block with information to each click event in the bank?

0

I made a jsfiddle to exemplify what I'm looking for: link

$(document).ready(function(){
    $("#btn-bloco1").on("click",function(){
        $("#bloco1").hide();
        $("#bloco2").show();
    });
});

Let's say I hit the próximo that is in first block or hit one of the radio buttons , I'd like to save only the data in this first block in the bank , and so on for the remaining blocks. That is, if I am in block 2 and press the next button, I will save the answers from block 2 and the previous block ....

    
asked by anonymous 22.09.2015 / 17:36

0 answers