Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery radio button change

$('input[type=radio][name=bedStatus]').change(function() {
    if (this.value == 'allot') {
        // ...
    }
    else if (this.value == 'transfer') {
        // ...
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #radio #button #change
ADD COMMENT
Topic
Name
4+5 =