JSFiddle - React, Tailwind, and code Playground
by JM note
HTML
<script src="//code.jquery.com/jquery.min.js"></script>
<script>
// 플러그인
(function ( $ ) {
$.fn.showHref = function() {
return this.each(function() {
$(this).append( ' (' + $(this).attr('href')+')' );
});
};
}( jQuery ));
// 사용 예시
$(function() {
$('a').showHref();
});
</script>
<p><a href='http://naver.com'>네이버</a></p>
<p><a href='http://daum.net'>다음</a></p>
<p><a href='http://google.com'>구글</a></p>