vebersol / jquery-custom-forms Goto Github PK
View Code? Open in Web Editor NEWA plugin to generate custom forms with accessibility
A plugin to generate custom forms with accessibility
The next sentence:
... src="jquery.custom.forms.js" ...
should be modified as it's shown:
... src="custom.forms.jquery.js" ...
I had a problem to get input radio post.
To resolve it, I modified toggleRadio function.
Replace
And fakeElement.next('input.' + className).attr('checked', true); by fakeElement.next('input.' + className).prop('checked', 'checked');
Then it works fine, if it can help someone ;-)
Hello !
It seems that when adding the html attr disabled="disabled" to a checkbox input, the input is not getting updated, which is correct, but the plugin keeps toggling the "fake" input... am I missing something here ?
Thanks !!
Vincent
I am using this to style my form, but I also want to be able to update certain input values depending on the radio button value once selected - any ideas how I can combine this with your script as it just isn't working!
$(function(){
$(document).ready(function(){
$("input[name='os0']").live("change", function(){
if ($(this).val() == "1x30A") {
$("input.1x30").attr("value", "30");
$("input.5x30").attr("value", "130");
$("input.10x30").attr("value", "240");
}
else if ($(this).val() == "1x30L") {
$("input.1x30").attr("value", "35");
$("input.5x30").attr("value", "150");
$("input.10x30").attr("value", "280");
}
});
});
});
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.