JQuery (2)

<input id="input-q1" type="text" /> <button onclick="q1()">클릭</button>




<input id="input-q2" type="text" /> <button onclick="q2()">클릭</button>




진실

잘못된






<input id="input-q3" type="text" placeholder="여기에 이름을 입력" />