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,053
14년 전 조회 919
14년 전 조회 787
14년 전 조회 784
14년 전 조회 812
14년 전 조회 992
14년 전 조회 1,170
14년 전 조회 1,250
14년 전 조회 1,557
14년 전 조회 958
14년 전 조회 792
14년 전 조회 984
14년 전 조회 1,032
14년 전 조회 1,171
14년 전 조회 822
14년 전 조회 1,172
14년 전 조회 821
14년 전 조회 999
14년 전 조회 920
14년 전 조회 1,560