-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
I'm trying to use autogrow with a lot of other plugins together, but when I try to use a custom jquery selector, it doesn't work.
I created a html attribute on the textarea to control who already has autogrow and who's doesn't.
console.log($('.tarea_marcacao')); // return all textareas
console.log($('.tarea_marcacao[appliedAutogrow="false"]')); // return the same all textareas
$('.tarea_marcacao').autogrow({ //works
onInitialize: true,
fixMinHeight:true
});
$('.tarea_marcacao[appliedAutogrow="false"]').autogrow({ //nothing happens...
onInitialize: true,
fixMinHeight:true
});
I also tryed to use it inside a $.each loop, but it didn't worked too
$('.tarea_marcacao[appliedAutogrow="false"]').each(function(){
$(this).autogrow({ //doesn't work either....
onInitialize: true,
fixMinHeight:true
});
});
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels