i am making a generator to print metatags. instead of using php to do this, i decided i want to use javascript. what i want to do is when a user puts something in a input field, after they change focus to another one, it places the value in the textarea...well their values and the value of the metatag itself.

say they put "name" for the "author" input field.

i want to put "<meta name="author" content="name">" in the textarea.

how would i do this?