I have a function in Javascript which replace a textarea with CKEDITOR.
document.getElementById("text").action=CKEDITOR.replace(
'body_content',
{toolbar : 'big',
height : '450',
enterMode : CKEDITOR.ENTER_BR}
);
Now I'd like to replace 3 textareas with CKEDITOR on the same function. The 3 areas have name body_contentSOMETHING.
How can I write an expression to replace SOMETHING with whatever?
EDIT: whatever is not defined. should be something like *.exe on windows file reseach