I'm loading data from an external api with json and jquery, with every ajax request a div with the class item, a div with the class more_info and a see button, which loads the rest of the data, and the created divs receive the json data. From line 28 jquery hides the div more_info, and the button created with the class bt_ver_more receives the toggle function, to open the rest of the information on the same screen. The problem is that when I click on one of the generated buttons to see more, all buttons execute the toggle function, opening up the rest of the information from all the divs, being obvious, since everyone has the same class but I do not want it this happens, I want it to click the button, it opens the div .more_info of its div, not all other divs
//Carrega dados de um arquivo json
var elemento;
$(document).on('click','#bt_prosseguir', function(){
$.getJSON('https://upvagasweb.000webhostapp.com/api_upvagas/php_json_access/access_json_aparecida.php', function(result){
elemento = "<div class='list radius white'>";
$.each(result, function(i, valor){
elemento += "<div class='item'>";
elemento += "<div class='left'>";
elemento += "<img class='avatar radius' src='"+valor.logo_empresa+"'>";
elemento += "</div>";
elemento += "<h2 style='margin-left:40%;'><strong>"+valor.setor+"</strong></h2>";
elemento += "<p style='margin-left:40%;'>"+valor.empresa+"</p>";
elemento += "<p style='margin-left:40%;'> Por "+valor.vinculo+"</p>";
elemento += "<p class='text-grey-500' style='margin-left:40%;'>"+valor.cidade+" - SP</p>";
elemento += "<p class='bt_ver_mais' style='margin-left:40%;color:#00f;'>Ver mais</p>";
elemento += "<div class='more_info'>";
elemento += "<p class='ver_mais' style='margin-left:40%;'><strong>Benefícios:</strong>"+valor.beneficios+"</p>";
elemento += "<p class='ver_mais' style='margin-left:40%;'><strong>Remuneração</strong>"+valor.remuneracao+"</p>";
elemento += "<p class='ver_mais' style='margin-left:40%;'><strong>Nível de estágio:</strong>"+valor.nivel_estagio+"</p>";
elemento += "<p class='ver_mais' style='margin-left:40%;'><strong>Inscrição:</strong>"+valor.processo_seletivo+"</p>";
elemento += "</div>";
//elemento += "<a href='"+valor.contato+"' class='ver_mais' style='margin-left:40%;'><strong>Link:</strong>"+valor.contato+"</p>";
elemento += "</div>";
});
$('#feed_vagas').html(elemento);
//esconde a div more_info
$('.more_info').hide();
$('.bt_ver_mais').click( function(){
$('.more_info').toggle();
});
});
});
/*$(document).on('deviceready', function(){
load_feed();
});*/