0

How can check if emojioneArea is loaded and converted the textarea into the contenteditable div?

I want to load jQuery autocomplete for the contenteditable div of the emojioneArea but the problem that I getting an error

TypeError: $(...).autocomplete(...).data(...) is undefined

I solve this by adding a setTimeout (1 second) until emojioneArea loaded and then loaded the jQuery autocomplete but this is not a professional solution.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
John
  • 171
  • 10

0 Answers0