如何解决我如何“提示”提交按钮,以便在我填写表单并点击输入时提示它?仅在 JavaScript 中完成,没有 HTML/CSS 或 PHP
<form>
<div class="nes-field">
<label>
I am interested in the following services (check all that apply):
</label>
<label>
<input type="checkbox" class="nes-checkbox" id="full_redesign" /><span>Full website redesign using an 8-Bit theme</span>
</label>
<label>
<input type="checkbox" class="nes-checkbox" id="sparkle" /><span>Sparkle cursors</span>
</label>
<label>
<input type="checkbox" class="nes-checkbox" id="blink" /><span>Blinking text to attract customers</span>
</label>
<label>
<input type="checkbox" class="nes-checkbox" id="music" /><span>Theme music to play when the user visits the page</span>
</label>
<label>
<input type="checkbox" class="nes-checkbox" id="colors" /><span>Really bright colors</span>
</label>
</div>
// here's the problem.
<button type="button" class="nes-btn is-primary">Submit</button>
</form>
我正在尝试使提交按钮起作用,因此每当您填写表单并按提交时,它都会提示它。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。