Created
March 30, 2016 21:15
-
-
Save valdiney/e473e6c91c032a23c4b61129d1fbbf4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function() { | |
$('.mais_ap').click(function() { | |
$('.mais_ap_div').toggle('slow'); | |
return false; | |
}); | |
$("#txtBusca").keyup(function() { | |
var text = $(this).val(); | |
$(".ul_ap_all li").css("display", "block"); | |
$(".ul_ap_all li").each(function() { | |
if ($(this).text().toUpperCase().indexOf(text) < 0) { | |
$(this).css("display", "none"); | |
} | |
}); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment