Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


value submission through script



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
somsahi



Joined: 22 Aug 2006
Posts: 6

PostPosted: Thu Sep 21, 2006 9:49 pm    Post subject: value submission through script Reply with quote

<script language="javascript">
function submitF()
{
document.facilityForm.submit();
}
</script>

<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" />
</html:select>

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

regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap