wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes submit a form on selecting one option Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "submit a form on selecting one option " Watch "submit a form on selecting one option " New topic
Author

submit a form on selecting one option

anuja Edathu
Ranch Hand

Joined: Sep 09, 2005
Posts: 84
Hi all,
I want to submit a form on selecting one option in the drop down list.
and populate data from the databse to the same page.can any one tell me how can any one tell me how to do it?

Thanks and Regards,
Anuja Karthikeyan
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

Moved to the HTML/Javascript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

You can submit the form under Javascript control by establishing an onchange handler on the select element.
Nee Kat
Ranch Hand

Joined: Jan 27, 2004
Posts: 37
Anuja,

I also have the same question. PLease let me know if you get solution to this. Please post it here. Code would be helpful.

Thanks!
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

 
 
subject: submit a form on selecting one option
 
Similar Threads
Overriding Browser refresh button
post form data when slection changed in list
Radio button validation problem
onload page submit in structs
HTML