Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
Values
Kunal Lakhani
Ranch Hand
Posts: 622
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am having problem in getting the value selected in the list shown below:
<SELECT name=Day> <OPTION value="" selected>- Select -</OPTION> <OPTION value=Sunday>Sunday</OPTION> <OPTION value=Monday>Monday</OPTION> <OPTION value=Tuesday>Tuesday</OPTION> <OPTION value=Wednesday>Wednesday</OPTION> <OPTION value=Thursday>Thursday</OPTION> <OPTION value=Friday>Friday</OPTION> <OPTION value=Saturday>Saturday</OPTION> </SELECT>
I am using request.getParameter, But no value is being displayed
How to retrieve the value selected?
Is this HTML code correct?
kunal
S Thiyanesh
Ranch Hand
Posts: 142
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you tried placing the values with in double quotes?(eg:<option value="sunday">Sunday</option>
Is this placed with in a form?
Kunal Lakhani
Ranch Hand
Posts: 622
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
have not tried that.. will check it. Thanks
kunal
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
null as key in HashMap ?
servlet+html
<s:select how to fill with key and value
JSF
Using JSTL Data Displayed In Browser Is Getting Fixed To 24576 Bytes(24 KB)
More...