What is the correct way to format the document.formToSubmit.submit() line?
var formToSubmit = 'postcomment' + id;
alert( ''+ formToSubmit +'' );
document.formToSubmit.submit();
The formToSubmit variable seems to be correct but the submit() does not work.