addForm이 양식 ID로 사용되었지만 양식 제출이 firefox에서 작동하지 않습니다.document.addForm.submit()이 (가) Firefox에서 작동하지 않습니다.
$(function() {
var date = $("#todo_due").val();
var text = $("#todo_due").val();
if (date && text) {
document.addForm.submit();
} else if (!date && !text) {
new Messi('{$LANG.main.todo_validation}', {ldelim}title: '{$LANG.error.error}', titleClass: 'info', modal: true{rdelim});
} else if (!text) {
new Messi('{$LANG.main.todo_validation_desc}', {ldelim}title: '{$LANG.error.error}', titleClass: 'info', modal: true{rdelim});
} else {
new Messi('{$LANG.main.todo_validation_date}', {ldelim}title: '{$LANG.error.error}', titleClass: 'info', modal: true{rdelim});
}
});
양식을 addform id와 관련하여 제출해야합니다. – user1847416