Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- var $validacao = $("#validacao");
- $("#validar").click(function() {
- $validacao.html('');
- $("input").each(function(index, element) {
- if (!element.value.trim()) {
- $validacao.append(element.id + "<br>");
- }
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement