jQuery動態給form表單賦值

NO IMAGE

由於粗心沒對form表單設定post方式提交導致傳遞的引數傳不到後臺

$("#elecfeeForm").attr("action","${pageContext.request.contextPath}/elecmanager/transferpower/exportElecFees.do?yearMonth=" yearMonth);
$("#elecfeeForm").attr("method","post");
$("#elecfeeForm").submit();