[jQuery] Adding a variable within a function name?

[jQuery] Adding a variable within a function name?


I am using the jquery each() function to find the id of text areas on
my page. Then I need to add that id next to another function, but I
am getting syntax errors:
$('textarea').each(function() {
var textId = $(this).attr('id');
$(this).val(); = eval('editor_' + textId + '.getHTML();');
});
Am I right in using eval to add the id? Or am I going about this the
wrong way?