Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save corpix/2049736 to your computer and use it in GitHub Desktop.
Save corpix/2049736 to your computer and use it in GitHub Desktop.
Redactor. Trigger change event for single page apps
setCodeTextarea: function(code)
{
this.$el.val(code).trigger('change');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment