Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(function (){
- function () {
- <!-- pega os dados via ajax -->
- }
- $('#exibir-dados').on('change', function (){
- var ano = $(this).val();
- $(dados).each(index, item) {
- if(item.ano == ano)
- $('#exibir-dados').append(imprime o item);
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement