You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
408 B

  1. semantic.validateForm = {};
  2. // ready event
  3. semantic.validateForm.ready = function() {
  4. // selector cache
  5. var
  6. $codeDropdown = $('.existing.code .dropdown'),
  7. $dropdown = $('select.dropdown').not($codeDropdown),
  8. // alias
  9. handler
  10. ;
  11. // event handlers
  12. handler = {
  13. };
  14. $dropdown
  15. .dropdown()
  16. ;
  17. };
  18. // attach ready event
  19. $(document)
  20. .ready(semantic.validateForm.ready)
  21. ;