Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. **Form HTML**
  2.  
  3. <form class="filters" method="post" action="">
  4. <span class="location">
  5. <select name="location" class="location">
  6. <option value="" class="item label">
  7. Test Name
  8. </option>
  9. <option value="888">Option1</option>
  10. <option value="444">Option2</option>
  11. </select>
  12. </span>
  13. <div class="filter-search find-button">
  14. <input type="submit" name="submit" value="Submit">
  15. </div>
  16. <div class="filter-search clear-button">
  17. <input type="reset" name="reset" value="Reset">
  18. </div>
  19. </form>
  20.  
  21. **JavaScript**
  22.  
  23. $(document).ready(function(){
  24. $('select.location').dropdown();
  25. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement