Menu
How can I add the value of str1 to “form” and “comment” in the javascript?
If [U][B]str1 = 1[U][B]1[U][B]1
If [U][B]str1 = 2[U][B]2[U][B]2
If [U][B]str1 = 5[U][B]5[U][B]5
[code=html]
function addBlogcomments(str1,str2,str3)
{
var txt=document.form.comment.value.replace(/n/g, “<br />”);
}
Thanks a lot ?