Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var qtdPerguntasComCheck = $(".borderPerguntas input[type='checkbox']").parent().parent().length;
- var retorno = false;
- for(var i = 0; i<qtdPerguntasComCheck; i++;){
- var esse = $(".borderPerguntas input[type='checkbox']").parent().parent()[i];
- if($(esse).find("input[type='checkbox']:checked").length > 0)
- {
- retorno = true;
- }
- }
- if(retorno){
- pode ir que ta validado
- }
- else{
- nao validou
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement