4
I have a question
Because this operation doesn’t work?
if ($(v).attr('jgForm-required') || $(v).attr('jgForm-email') && $(v).is(":visible")) {
......................
}
And that works? What’s the difference?
if ($(v).attr('jgForm-required') || $(v).attr('jgForm-email')) {
if($(v).is(":visible")){
...............................
}
}
You can create a demo(jsFiddle) for this case ?
– DontVoteMeDown
Not knowing what it is
v
and the attributes, it gets a little complicated to explain... Could show us what is the variable v?– Felipe Avelar