Do you want the form submitted without any user interaction?
Or do you want an HTTP request sent without user interaction?
Submitting the form will send an HTTP request - but there are other ways to do that as well.
You could just make an ajax request to the server and pass along the parameter in the url. Might be cleaner than mucking around with the form