Is there a nicer way in jQuery to do this ?
$(":text").each(function() {
if (this.style.visibility == "visible") {
...
};
});
Is there a nicer way in jQuery to do this ?
$(":text").each(function() {
if (this.style.visibility == "visible") {
...
};
});
yes:
$(":text:visible").each(function() {
...
});
UPDATE Since jQuery this doesn't work anymore: details.