0
다음은 내 html Dom.I 선택 옵션의 데이터 속성을 가져 오려고합니다.jquery에서 선택한 옵션의 데이터 속성을 검색 할 수 없습니다.
data-brand-id
을 가져 오려면 다음 JQuery가 작동하지 않습니다.
$(".save-fan-page").on("click",function()
{
$(this).closest("tr").find("select[name='brand_dropdown']option:selected").data("brand-id");
}