View Full Version : submit problem

09-21-2006, 10:51 PM
<script language="javascript">
function submitF()

<html:form action="/iata">
Facility: <html:select property="facility"

name="facilityForm" size="1" onchange="submitF()">
<html:option value="state">state</html:option>
<html:options property="facilityList"

name="facilityForm" />

Hi I have a form conatining values which is submitting

though above script.
Now I have put a default value as "state"
when user select any other value excpet default then

corrosponding page is displayed but if user choose default

value there is error obviously.

I simply want that if user select default value "state"

nothing should be submitted.

please be specific if anyhting need to be chnaged in

javascript as no idea about javascript


09-23-2006, 01:33 PM
Do not crosspost. (http://codingforums.com/rules.htm)