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


submission problem



 

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: Tue Aug 22, 2006 6:51 pm    Post subject: submission problem Reply with quote

Hi I have a dropdown list of regions like abc,def,ghi,jkl

to submit those regions I am using follwing function using onchange event.
problem-when user changes the value result comes.But In dropdown when user want result for current visible value no results(obviously because same value is used which was before clicking on dropdown).

Now I wanna modify this function using if else like conditiion that if onchange happens value will be submitted else whatever value visible in jsp should be submitted.regionform where getter and setter property is set for form.
<script language="javascript">
function submitRegion()
{
document.regionForm.submit();
}
</script>
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