Per cambiare l'attributo method del form e settarlo a get:
codice:
document.getElementById("idDelForm").setAttribute("method", "get")
Onestamente non sono riuscito a capire quando tale riga di codice vuoi che sia eseguita