Skip to content

@davglass /all_textareas.js
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
(function() {
var Dom = YAHOO.util.Dom,
Event = YAHOO.util.Event;
Event.onDOMReady(function() {
var textareas = document.body.getElementsByTagName('textarea'),
len = textareas.length,
editors = [];
for (var i = 0; i < len; i++) {
editors[i] = new YAHOO.widget.SimpleEditor(textareas[i], {
height: '300px',
width: '700px',
});
editors[i].render();
}
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.