【发布时间】:2017-12-14 23:49:47
【问题描述】:
如何使这个文本框在输入 @、*、-、_ 等值时禁用 play button。
文本框代码/输入框代码:
<input id="nick" class="form-control input-lg no-border spaced" placeholder="Name" maxlength="15">
播放按钮代码: 播放
<a id="spectate-btn" onclick="spectate(); return false;" class="click btn btn-warning full-width expand spaced" type="submit">Spectate</a>
【问题讨论】:
标签: javascript html