Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

show hide boxes using radio button selection jquery

$(document).ready(function() {
    $("input[name$='cars']").click(function() {
        var test = $(this).val();

        $("div.desc").hide();
        $("#Cars" + test).show();
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #hide #boxes #radio #button #selection #jquery
ADD COMMENT
Topic
Name
2+6 =