Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <li class="list-group-item jogador">
- <button class="btn btn-danger excluir">Excluir</button>
- </li>
- <script>
- $('.excluir').click(function(){
- $.ajax({
- url: '/test/',
- method: 'post',
- success: function() {
- $('.jogador').closest().hide();
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement