이것은 세 브라우저 모두 문제없이 양식을 제출할 수있는 유일한 방법입니다. 이것이 왜 그렇게 명백한 이유가 있습니까? 이것에 대한보다 우아한 해결책? 나는 jQuery 1.9를 사용하고있다. 다른 곳의 코드가 IE와 Firefox를 통해 제출하기에 충분하기 때문에 Chrome은 이상한 사람입니다.크롬, IE 8 및 파이어 폭스 같은 양식을 제출하는 wierd 방법
function submitFormByPost(actionName){
$("#eventAction").val(actionName);
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
if(is_chrome){
document.getElementById('myForm').method='POST';
document.getElementById('myForm').submit();
}
else{
document.forms[0].method='POST';
document.forms[0].submit();
}
}