m

두가지 기능을 다 사용하고 싶은데...

카테고리를 선택할 시의 두가지기능을 함께 사용하고 싶습니다.

-------------------------------
<? if ($is_category) { ?>
<tr>
<td class=write_head>분 류</td>
<td><select name=ca_name required itemname="분류" onChange="setCate(this.value)" option value="">선택하세요<?=$category_option?></select></td></tr>
<? } ?>
-------------
<? if ($is_category) { ?>
<tr>
<td class=write_head>분 류</td>
<td><select name=ca_name required itemname="분류" onchange="change_ca_name(this.form)" option value="">선택하세요<?=$category_option?></select></td></tr>
<? } ?>
------------------------------

위에서
onChange="setCate(this.value)" 과
onchange="change_ca_name(this.form)" 을 함께 사용할 수는 없는가요?
|

댓글 3개

onChange="setCate(this.value); change_ca_name(this.form);"
감사합니다.
새해에도 건강하십시요.
잘 작동합니다.
거듭 감사드립니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
14년 전 조회 1,050
14년 전 조회 918
14년 전 조회 786
14년 전 조회 782
14년 전 조회 809
14년 전 조회 990
14년 전 조회 1,167
14년 전 조회 1,243
14년 전 조회 1,555
14년 전 조회 956
14년 전 조회 789
14년 전 조회 982
14년 전 조회 1,030
14년 전 조회 1,168
14년 전 조회 818
14년 전 조회 1,169
14년 전 조회 817
14년 전 조회 997
14년 전 조회 915
14년 전 조회 1,558