Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

Many textarea #543

Open
williansebastiao opened this issue Oct 4, 2015 · 2 comments
Open

Many textarea #543

williansebastiao opened this issue Oct 4, 2015 · 2 comments

Comments

@williansebastiao
Copy link

I have more of a textarea, and need to clear their contents in focus.
But only at first I can ... how do I get the other?

@IntellectProductions
Copy link

Do you have any code you can show us to see how you have things setup?

@williansebastiao
Copy link
Author

Estou utilizando o seguinte código.
Porém, o mesmo só executa no primeiro índice, no segundo ele não executa

editor.on("focus", function() {
$(editor.textareaElement).parent().removeClass('has-error');
$(editor.textareaElement).parent().find('span.help-block').detach();
});

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants