I ran into another problem doing the same thing a while back. I was submitting a form with a link, and i had to specify the method="post" in the in-line javascript. I posted a thread on this forum about it.
Code:
<a href="#" onclick="javascript:myform.method='POST';java script:myform.submit()">CLICK HERE</a>