본문 바로가기
개발/javascript

script 문자열 포함 처리

by 향유 2021. 5. 7.
if(json_data.for_what.match('1'))$('[name=for_what1]').prop('checked', true);

 

댓글