• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HFSJ 2nd edition page 75

 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in page 75 we have to make a html form , I coded it exactly as given in that page but htere might be something I've been missing, what I get is not as given in picture on page 77, I do not have any text in the dropdown menu, I think it's something to do with that 'Did you figure out sixe="1" , my form output as accesed in browser is attached
where am I wrong,

here is HTML file for that page




no-options.png
[Thumbnail for no-options.png]
 
vaibhav mishra
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
figured out

very silly of me, where is thread delete button,
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
use this

1. <html><body>
2. <h1 align = "center">Beer Selection Page</h1>
3. <form method = "POST"
4. action = "SelectBeer.do">
5. Select Beer Characteristics


6. Color:
7. <select name="color" size="1">
8. <option value="light">light</option>
9. <option value="amber">amber</option>
10. <option value="brown">brown</option>
11. <option value="dark">dark</option>
12. </select>
13.


14. <center>
15. <input type = "SUBMIT">
16. </center>
17. </form></body><html>

Unless you provide any value inside body of options tag , it wont display any thing.

 
vaibhav mishra
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
actually I figured it out , a silly typo mistake, that's why I asked how to delete thread
Thanks anyway.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic