anduin2017 / jquery-disable-with Goto Github PK
View Code? Open in Web Editor NEWLibrary to enable auto-disable options when submitting a form.
Home Page: https://developer.aiursoft.com/Samples/DisableWithForm
License: MIT License
Library to enable auto-disable options when submitting a form.
Home Page: https://developer.aiursoft.com/Samples/DisableWithForm
License: MIT License
This is amazing! Just what I was looking for but could you add a minor update to prevent the button from changing when a field if required! Thanks
https://gyazo.com/da91914aebeb4aaca4531c69f61e07bf
<form action="index.php" method="post">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" required="" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" required="" id="exampleInputPassword1" placeholder="Password">
</div>
<input type="submit" value="Signing in..." data-disable-with="Signing in..." class="btn btn-primary">
</form>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.