테스트 사이트 - 개발 중인 베타 버전입니다

에디터 도움부탁드립니다. 채택완료

PHP연구생 10년 전 조회 4,018

</p><p><?php</p><p>include_once('./_common.php');
include_once(G5_EDITOR_LIB);</p><p>?></p><p><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></p><p>
<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></p><p> </p><p><script type="text/javascript"></p><p><?php echo get_editor_js("point_msg"); ?></p><p><?php echo get_editor_js("cash_msg"); ?></p><p></script></p><p>

 

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

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

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

10년 전

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

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


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



로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인