Javascript autosubmit form Error: submit() is not a function
Read this post on codesplanet.blogspot.com