擅长:python、mysql、java
<p/><div^{cl1}$&13;
<div^{cl2}$&13;
<pre class="snippet-code-js lang-js prettyprint-override"><code>function checkValidity(input){
var onlyAlphaNum = /^[a-z0-9//]+$/
return onlyAlphaNum.test(input);
}
var message = $('#message').val();
if(!checkValidity(message)){
$('#message').focus();
alert('invalid message');
}</code></pre>
;
</div>和13;
</div>和13;
<blockquote>
<p/>
</blockquote>