commit by magit in emacs@2018-02-09 15:29:31

This commit is contained in:
guobao.jiang 2018-02-09 15:29:32 +08:00
parent cf9291fd15
commit 11eda2aa44
1 changed files with 1 additions and 0 deletions

View File

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