[자바 스크립트] PHP 내에서 자바 스크립트 함수를 사용하는 방법은 무엇입니까?
이 시도: //JS Code 페이지를로드 할 때 조건이 true이면 스크립트 태그 사이의 js 코드가 실행되며 코드를 작성하는 대신 다른 js 파일을 연결할 수도 있습니다. ------------------- 내 문제를 해결했습니다. 방금 JS 기능을 변경했습니다. //table fri $("#fri input[type='radio']").change(function(){ var count = $("#fri input[type='radio']:checked").length; if(count>3){ $(this).prop('checked', false); alert("You cannot add more than 3"); } }); //table sat $("#sat input[type='radio']")...
카테고리 없음
2021. 2. 20. 19:07