I'm getting "Invalid Syntax Error" whenever I do a submit() on a form with method="post"

form declaration:
Code:
<form id='globaloptionsform' name='globaloptionsform' method='post' action='/dhcp/server/global/set'>
Code to submit is as follows:
Code:
($('globaloptionsform')).submit();
Nevermind the $ part, that's using Prototype framework for Javascript.

The code works fine for FireFox, and for IE, I can see that the backend (code behind) is able to receive the post data... However it's just not working when response is processed by client side (that is IE).

Any more of this and I will hate IE.