Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.when($(".popular-videos").html(datasHTML)).done(
- function(resultadoAcao1)
- {
- resp.forEach(function(item, i)
- {
- // Para cada genero, faz uma nova busca para retornar os filmes
- $.ajax({
- type: "POST",
- url: "/app/action/listar.php",
- data:
- {
- "acao": "listarFilmesSlider",
- "genero": item.id
- },
- dataType: "json",
- //beforeSend: antesEnviar("#loading", true),
- error: function(){},
- success: function(filmeResp){retornoListarFilmesSlider(filmeResp, item.id)}
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement