68
rated 0 times
[
73]
[
5]
/ answers: 1 / hits: 18536
/ 13 Years ago, sat, march 19, 2011, 12:00:00
How do I use the refresh function from CodeMirror 2?
If your code does something to change
the size of the editor element (window
resizes are already listened for), or
unhides it, you should probably follow
up by calling this method to ensure
CodeMirror is still looking as
intended.
I want to refresh all textareas after a link is clicked
I tried
$('.CodeMirror').each(function(){
getElementById($(this).attr('id')).refresh();
});
but it doesn't work....
More From » jquery