js を使用して、文字列が別の文字列内にあるかどうかを確認します
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> <script type="text/javascript"> if ('15,10,12'.indexOf('15') > 0){ alert('YES!'); }else{ alert('NO!'); } </script>