这是html代码
<button value="{store name}" type="button" id="store_name">{store name}</button>
<ul>
<li id="#store_name_li">Add your brand name. <a>{store name}</a></li>
</ul>
这是jQuery
$('#store_name').on('click', function () {
$('#store_name_li').hide(); // not working
var stuff = $(this).val();
$('.emojionearea-editor').append(stuff); // working
});
这里有什么问题?
慕桂英4014372
相关分类