js

[jQuery] 동적 append css 추가하기

natrue 2022. 3. 17. 11:56
728x90

$('').append().css(stylename, 적용style);

 var layerInfoText = "<li><strong>"+layerTitle+"</strong><li>";
 $('.ol-popup .info_layer .tab_cont #tab1').append(layerInfoText).css('pointer-events','none');
.css(stylename, 적용style);