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.
29 lines
408 B
29 lines
408 B
semantic.validateForm = {};
|
|
|
|
// ready event
|
|
semantic.validateForm.ready = function() {
|
|
|
|
// selector cache
|
|
var
|
|
$codeDropdown = $('.existing.code .dropdown'),
|
|
$dropdown = $('select.dropdown').not($codeDropdown),
|
|
// alias
|
|
handler
|
|
;
|
|
|
|
// event handlers
|
|
handler = {
|
|
|
|
};
|
|
|
|
$dropdown
|
|
.dropdown()
|
|
;
|
|
|
|
};
|
|
|
|
|
|
// attach ready event
|
|
$(document)
|
|
.ready(semantic.validateForm.ready)
|
|
;
|