Jump to content

Form.submit Not Passing Form Values In Opera 9

Guest MattS2K

Recommended Posts

Guest MattS2K

Please see the following (abridged) code:

<form action="MyISAPI.dll/SubmitPerson" name="dataForm" method="POST" enctype="multipart/form-data">  {snip: Various form elements}    <input onclick="person_search();" type="button" value="Search" class="button" onmouseover="buttover(this, 1)" onmouseout="buttover(this, 0)"></form>...function person_search(){  {snip: some validation code etc}    document.forms['dataForm'].submit();}

This works as expected in Internet Explorer, however in Opera the form is submittedbut with blank values for all the form elements. I know this as the ISAPI dll returnsthe correct page, and the result confirms blank values being passed from the form elements.I used an alert immediately before the call to submit to confirm that the form elementsdo indeed have correct values, but still nothing is being passed when calling submit.Any ideas, comments or thoughts?ThanksMatt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...