function llenarCombo(){ var form = document.getElementById('formulario'); form.action = "EditPartido.do"; form.submit(); } <form id="formulario"> ... ... ..