Giter Site home page Giter Site logo

jquery-custom-forms's People

Contributors

amendozaf avatar vebersol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jquery-custom-forms's Issues

Incorrect jquery.custom.forms.js

The next sentence:
... src="jquery.custom.forms.js" ...

should be modified as it's shown:
... src="custom.forms.jquery.js" ...

Problem with radio type

I had a problem to get input radio post.
To resolve it, I modified toggleRadio function.

Replace $('input.' + className).attr('checked', false); by $('input.' + className).prop('checked', false);

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 ;-)

input checkbox disabled

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

Need to use onchange twice....

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");       
    }
}); 

});
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.