Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <title>Datalist test</title>
- <form>
- <label for="source">How did you hear about us?</label>
- <datalist id="sources">
- <select name="source">
- <option>please choose...</option>
- <option value="television">Television</option>
- <option value="radio">Radio</option>
- <option value="newspaper">Newspaper</option>
- <option>Other</option>
- </select>
- If other, please specify:
- </datalist>
- <input id="source" name="source" list="sources">
- <input type="submit">
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement