Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
disable submit button
<script type="text/javascript">
jQuery(document).ready(function ($) {
// disable the button until successfull google captcha
document.getElementById("button1").disabled = true;
document.getElementById("button2").disabled = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment