에디터 도움부탁드립니다.

에디터 도움부탁드립니다.

QA

에디터 도움부탁드립니다.

답변 1

본문


<?php
include_once('./_common.php');
include_once(G5_EDITOR_LIB);
?>
<section id="md_01">
    <table>
        <tr class='ht'>
            <td>포인트</td>
            <td><?php echo editor_html("point_msg", get_text($row['point_msg'], 0)); ?></td>
        </tr>
    </table>
</section>

<section id="md_02" style="display:none">
    <table>
        <tr class='ht'>
            <td>캐쉬</td>
            <td><?php echo editor_html("cash_msg", get_text($row['cash_msg'], 0)); ?></td>
        </tr>
    </table>
</section>
 
<script type="text/javascript">
<?php echo get_editor_js("point_msg"); ?>
<?php echo get_editor_js("cash_msg"); ?>
</script>

 

위 소스처럼 적용했을때 포인트는 에디터 적용되고 캐쉬는 적용이 되지않아요.

display:none 이것때문인거 같은데 해결할수있는 방법 알려주세요. 

이 질문에 댓글 쓰기 :

답변 1

<section id="md_02" style="display:none">

여기 display:none 때문에 되지 않는다면 이걸 다음 처럼 처리하시면 어떨까요?


style="position:relative;left:-9999px;" 모니터에서 보이지 않게 보내 버리는거죠 ㅎㅎ



답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 125,873
© SIRSOFT
현재 페이지 제일 처음으로