Hello whats wrong here?
function insertTag(insertTagArrayNumber){
var insertTagArray = [' <blockquote></blockquote>',' <em>my
emphasized text</em>',' <strong>my bold text</strong>',' <code>my
code</code>'];
var txt =(insertTagArray[insertTagArrayNumber-1]);
console.log("text",txt); //OK
console.log("test2",$('comment').value); //OK
$('comment').set('html',$('comment').value + txt);
};
there is only shown the $('comment').value in the text field.
txt will be ignored.
firebug shows that the txt is changed to: <strong>my bold text</
strong>