• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ 2nd edition page 75

 
vaibhav mishra
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
figured out

very silly of me, where is thread delete button,
 
ani jadhao
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic