function CheckContent() {
if (form1.need.value=="" && form1.content.value=="") {
alert("请填写内容!");
return false;
}
document.form1.submit();
}应该是这样写滴~