2014-02-18, 08:09 PM
Guys I can't add character counter because the name in newthread template for textarea is message but in the source code it's message_old, message_new?
Can I add
to editor.js
How to hook textarea with JavaScript?????
What about
Can I add
formcontent=what.form.message_old.value;
formcontent=what.form.message_new.value;
what.form.displaycount2.value=formcontent.length;
to editor.js
How to hook textarea with JavaScript?????
What about
if($('message_new')) {
var elTextarea = $('message_new');
} else {
var elTextarea = $('message');
}