다중셀렉트 수정시 내용 유지 채택완료
다중셀렉트박스가 있는데 글을 수정하게 되면 글쓰기시 선택했던값이 리셋되어 버립니다.
글쓰기시 선택했던 값을 수정할때도 유지됬으면 하는데 도와주시면 감사 하겠습니다!
1차 분류
2차 분류
스크립트 부분
function selectSecond(n) {
fs = document.fwrite1.wr_17;
if(n==-1) {
fs.selectedIndex = 0;
return;
} else {
for(j=0;j
arrSecondText = new Array(1); arrSecondValue = new Array(1);
arrSecondText[0] = new Array(1); arrSecondValue[0] = new Array(1);
arrSecondText[0][0] = "2차 업종명"; arrSecondValue[0][0] = " 빌라주택상가컨설팅";
arrSecondText[1] = new Array(1); arrSecondValue[1] = new Array(1);
arrSecondText[1][0] = "2차 업종명"; arrSecondValue[1][0] = " 프랜차이즈양도양수";
arrSecondText[2] = new Array(4); arrSecondValue[2] = new Array(4);
arrSecondText[2][0] = "커피전문점, 베이커리"; arrSecondValue[2][0] = " 커피전문점/베이커리"; arrSecondText[2][1] = "분식, 떡볶이, 꼬지"; arrSecondValue[2][1] = " 분식/떡볶이/꼬지"; arrSecondText[2][2] = "패스트푸드"; arrSecondValue[2][2] = " 패스트푸드"; arrSecondText[2][3] = "기타휴게음식점"; arrSecondValue[2][3] = " 기타휴게음식점";
arrSecondText[3] = new Array(3); arrSecondValue[3] = new Array(3);
arrSecondText[3][0] = "한식, 양식, 중식, 일식"; arrSecondValue[3][0] = " 한식/양식/중식/일식"; arrSecondText[3][1] = "고깃집"; arrSecondValue[3][1] = " 고깃집"; arrSecondText[3][2] = "횟집"; arrSecondValue[3][2] = " 횟집"; arrSecondText[3][3] = "기타일반음식점"; arrSecondValue[3][3] = " 기타일반음식점";
arrSecondText[4] = new Array(5); arrSecondValue[4] = new Array(5);
arrSecondText[4][0] = "퓨전주점, 민속주점"; arrSecondValue[4][0] = " 퓨전주점/민속주점"; arrSecondText[4][1] = "일본식주점, 선술집"; arrSecondValue[4][1] = " 일본식주점/선술집"; arrSecondText[4][2] = "호프, 맥주전문점"; arrSecondValue[4][2] = " 호프/맥주전문점"; arrSecondText[4][3] = "치킨호프전문점"; arrSecondValue[4][3] = " 치킨호프전문점"; arrSecondText[4][4] = "클럽, BAR"; arrSecondValue[4][4] = " 클럽/BAR";
arrSecondText[5] = new Array(2); arrSecondValue[5] = new Array(2);
arrSecondText[5][0] = "유흥주점, 단란주점"; arrSecondValue[5][0] = " 유흥주점/단란주점"; arrSecondText[5][1] = "노래연습장"; arrSecondValue[5][1] = " 노래연습장";
arrSecondText[6] = new Array(5); arrSecondValue[6] = new Array(5);
arrSecondText[6][0] = "의류, 악세사리"; arrSecondValue[6][0] = " 의류/악세사리"; arrSecondText[6][1] = "화장품, 잡화"; arrSecondValue[6][1] = " 화장품/잡화"; arrSecondText[6][2] = "편의점, 슈퍼마켓"; arrSecondValue[6][2] = " 편의점/슈퍼마켓"; arrSecondText[6][3] = "휴대폰매장"; arrSecondValue[6][3] = " 휴대포내장"; arrSecondText[6][4] = "기타잡화"; arrSecondValue[6][4] = " 기타잡화";
arrSecondText[7] = new Array(2); arrSecondValue[7] = new Array(2);
arrSecondText[7][0] = "미용실, 네일샵"; arrSecondValue[7][0] = " 미용실/네일샵"; arrSecondText[7][1] = "뷰티샵, 피부관리"; arrSecondValue[7][1] = " 뷰티샵/피부관리";
arrSecondText[8] = new Array(4); arrSecondValue[8] = new Array(4);
arrSecondText[8][0] = "PC방, DVD방, 멀티존"; arrSecondValue[8][0] = " PC방/DVD방/멀티존"; arrSecondText[8][1] = "만화방, 당구장"; arrSecondValue[8][1] = " 만화방/당구장"; arrSecondText[8][2] = "청소년오락실"; arrSecondValue[8][2] = " 청소년오락실"; arrSecondText[8][3] = "피트니스, 스크린골프"; arrSecondValue[8][3] = " 피트니스/스크린골프";
arrSecondText[9] = new Array(3); arrSecondValue[9] = new Array(3);
arrSecondText[9][0] = "주차장, 세차장"; arrSecondValue[9][0] = " 주차장/세차장"; arrSecondText[9][1] = "차량정비, 자동차용품"; arrSecondValue[9][1] = " 차량정비/자동차용품"; arrSecondText[9][2] = "타이어, 광택, 선팅"; arrSecondValue[9][2] = " 타이어/광택/선팅";
arrSecondText[10] = new Array(3); arrSecondValue[10] = new Array(3);
arrSecondText[10][0] = "병원, 약국"; arrSecondValue[10][0] = " 병원/약국"; arrSecondText[10][1] = "교육, 학원"; arrSecondValue[10][1] = " 교육/학원"; arrSecondText[10][2] = "사무실"; arrSecondValue[10][2] = " 사무실";
arrSecondText[11] = new Array(1); arrSecondValue[11] = new Array(1);
arrSecondText[11][0] = "2차 업종명"; arrSecondValue[11][0] = " 부산전지역지하상가";
arrSecondText[12] = new Array(1); arrSecondValue[12] = new Array(1);
arrSecondText[12][0] = "2차 업종명"; arrSecondValue[12][0] = " 다용도/신설후보자리";
arrSecondText[13] = new Array(1); arrSecondValue[13] = new Array(1);
arrSecondText[13][0] = "2차 업종명"; arrSecondValue[13][0] = " 빌라/오피스텔분양상담";
arrSecondText[14] = new Array(1); arrSecondValue[14] = new Array(1);
arrSecondText[14][0] = "백화점, 대형마트, 특수상권"; arrSecondValue[14][0] = " 백화점/대형마트/특수상권";
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인