<script type="text/javascript"> var refid='dasdasd,dadsad'; var reg =/^([\u0391-\uFFE5\d\w,])*([\u0391-\uFFE5\d\w]+)$/; if(refid != "") { if(reg.exec( ...
<script type="text/javascript">
var refid='dasdasd,dadsad';
var reg =/^([\u0391-\uFFE5\d\w,])*([\u0391-\uFFE5\d\w]+)$/;
if(refid != "") {
if(reg.exec(refid)) {
alert('驗證通過');
}else {
alert('驗證失敗');
}
}
</script>