Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select id="sel">
- </select>
- <a href="#" onclick="update_sel(); return false">Update the select</a>
- <script>
- function update_sel() {
- document.getElementById('sel').innerHTML = '<option value="">Alege subzona</option><option value="1">12 apostoli </option>';
- }
- </script>
Add Comment
Please, Sign In to add comment