무대를 스택오버플로로 넓혔어요,,,
코드줄이는게 잘 안돼서,,ㅋ
답변이 올지 모르겠지만...
그런데 질문 올리는 규칙이 까다로워요,,
제목도 질문 성격이 나타나게 적어야 하고
<br/> 이거 다 써야하그..
이탤릭체나 발드체만 써야 해요.
왜 역같이 안 올라가나 하고,,
경고멘트는 나오는데
가방줄이 짧아서 뭐라고 하는지...
몇번이곤 해서 겨우 올렷어요..
멋대로 질문올리면 올라가지를 않아요,,,유유
qa는 여기가 좋아요,,
생각나는 대로 끄적거려도 올라가니까ㅎ
댓글 4개
그런데 바로 이렇게 답이 달렸어요ㅡㅡㅎ
근데 영어가 더 어려워요,,,변역기 돌리도 어려울건데..쩝
Why not passing the index/id/count, etc: function insert(index) {.... $("#out_qty" + index); and so on} – Ele 6 mins ago
Why not use a class name and write the function once to execute for all elements? What are you using to call the functions? OnChange? OnInput? OnClick? If you can give more information and a example of the HTML I might be able to help you with this. Also No need for the else if, you can just use else since the first condition will be true/false and if not then your else will execute rather than checking the only other condition is true which it must be since it can only be more that or less than 0.... unless you use else for equal to 0. – NewToJS 5 mins ago
근데 영어가 더 어려워요,,,변역기 돌리도 어려울건데..쩝
Why not passing the index/id/count, etc: function insert(index) {.... $("#out_qty" + index); and so on} – Ele 6 mins ago
Why not use a class name and write the function once to execute for all elements? What are you using to call the functions? OnChange? OnInput? OnClick? If you can give more information and a example of the HTML I might be able to help you with this. Also No need for the else if, you can just use else since the first condition will be true/false and if not then your else will execute rather than checking the only other condition is true which it must be since it can only be more that or less than 0.... unless you use else for equal to 0. – NewToJS 5 mins ago
게시글 목록
| 번호 | 제목 |
|---|---|
| 1717479 | |
| 1717473 | |
| 1717470 | |
| 1717463 | |
| 1717452 | |
| 1717438 | |
| 1717431 | |
| 1717422 | |
| 1717414 | |
| 1717412 | |
| 1717407 | |
| 1717401 | |
| 1717393 | |
| 1717386 | |
| 1717379 | |
| 1717378 | |
| 1717365 | |
| 1717364 | |
| 1717360 | |
| 1717359 | |
| 1717346 | |
| 1717344 | |
| 1717333 | |
| 1717327 | |
| 1717313 | |
| 1717312 | |
| 1717310 | |
| 1717307 | |
| 1717306 | |
| 1717304 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기