Advertisement
Guest User

Progressive enhancement with datalist

a guest
Jan 7th, 2011
1,509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.47 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <title>Datalist test</title>
  3. <form>
  4. <label for="source">How did you hear about us?</label>
  5. <datalist id="sources">
  6. <select name="source">
  7. <option>please choose...</option>
  8. <option value="television">Television</option>
  9. <option value="radio">Radio</option>
  10. <option value="newspaper">Newspaper</option>
  11. <option>Other</option>
  12. </select>
  13. If other, please specify:
  14. </datalist>
  15. <input id="source" name="source" list="sources">
  16. <input type="submit">
  17. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement