Categories

Archive

동적으로 input – text 박스 생성/삭제

    //========================================== 사용예 1. 선언 :: var koko = new FnDynInput(“koko”,”txtQuestion”,”countQuestion1″); 2. HTML 삽입 ->  <input type=”hidden” name=”countQuestion1″ value=”1″ > <table> <tr> <td><div id=”view_001″></div></td> <td valign=”top”> <input type=”button” value=”추가” onClick=”koko.addInput();”></td> </tr> </table>   3. 값을 넘겨받는 쪽   :: txtQuestion1,2,3,4.. Read more ›