commit by magit in emacs@2018-01-25 15:04:55

This commit is contained in:
guobao.jiang 2018-01-25 15:04:56 +08:00
parent e788f6ed64
commit cf9291fd15
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ $('#eleType').dropdown("set selected", 2);
// dropdown的change事件
$('.valueType-dropdown').on('change', function () {
var value = $(this).dropdown('get item').attr('value');
//var value = $(this).val(); // 如果是option
$('#valueType').val(value);
console.log($('#valueType').val());
});