새로운 에디터로 코드 작성시..
보통 소스 코드를 카피해서 에디터에 붙여 넣기를 할 때.. html code가 안들어게 RAW에서 카피해서 붙여넣기를 하는데..
아래와 같이 되네요..
[code]
// Show reply box and hide-button, hide reply-button $(document).on('click', '.reply-button', function() { $(this).parent().children('.msg-text').show(); // Show textarea $(this).parent().children('.hide-reply-box').show(); // Show hide-button $(this).hide(); // Hide reply-button // Clear any previous errors and warnings $('.warning').hide(); $('.error').hide(); $('.warning p').html(''); $('.error p').html(''); });
[/code]
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 4개