che errore ti da?
e facendo document.getElementById('id_form').submit() ?????