자바스크립트 동시 입력이 왜 안될까요? 채택완료
costomerPrice 에 숫자를 넣으면 price 에 동시에 입력되게 하려고 자바스크립트를 짰는데 안되네요 왜 안될까요? 알려주세요
</p>
<p><script src="<a href="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>" target="_blank" rel="noopener noreferrer">https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script></a></p>
<p><script type="text/javascript"></p>
<p>$(document).ready(function(){</p>
<p> $("#costomerPrice").keyup(function(){
$("#price").text($("#costomerPrice").val());
});</p>
<p>});</p>
<p></script></p>
<p> </p>
<p> </p>
<p><form name="myform" action="**" method="post" enctype="multipart/form-data" onSubmit="return formsubmit();">
<input type="text" name="costomerPrice" id="costomerPrice" value="" class="input" style="width:80px;" />
<input type="text" name="price" value="" id="price" class="input" style="width:80px;" /></p>
<p> </p>
<p> </p>
<p>
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
채택
채택
답변대기
답변대기
채택
채택
채택
채택
채택
채택
채택
채택
답변대기
채택
답변대기
답변대기
채택
채택
답변대기
채택