把value去掉 document.cmdparamForm.action = url; alert(document.cmdparamForm.action); document.cmdparamForm.submit();