Advertisement
Guest User

Untitled

a guest
Dec 15th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.30 KB | None | 0 0
  1. <script>
  2.     $(function (){
  3.         function () {
  4.             <!-- pega os dados via ajax -->
  5.            
  6.         }
  7.  
  8.         $('#exibir-dados').on('change', function (){
  9.             var ano = $(this).val();
  10.            
  11.             $(dados).each(index, item) {
  12.                 if(item.ano == ano)
  13.                     $('#exibir-dados').append(imprime o item);
  14.             }
  15.         });
  16.     });
  17. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement