<button id="myBtn">Submit Query</button>
document.getElementById("myBtn").disabled = true;
$def with (form)Have you tried to give this input an id ? ( for example <input id="myBtn" type="submit" /> )
<form name="main" method="post">
$if not form.valid: <p class="error">Try again, AmeriCAN:</p>
$:form.render()
<input type="submit" /> </form> # I put the button in bold
--
You received this message because you are subscribed to the Google Groups "web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webpy+un...@googlegroups.com.
To post to this group, send email to we...@googlegroups.com.
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/d/optout.