Files
EasySoft-ZenTaoPMS/module/todo/js/edit.js
T
2022-04-12 16:50:56 +08:00

13 lines
393 B
JavaScript

$(function()
{
loadList($('#type').val(), '', defaultType, idvalue);
$('#pri').on('change', function()
{
var $select = $(this);
var $selector = $select.closest('.pri-selector');
var value = $select.val();
$selector.find('.pri-text').html('<span class="label-pri label-pri-' + value + '" title="' + value + '">' + value + '</span>');
});
});