added form action anchor option: form.anchor = '#myform'