Radio Box Navigation Tabbing Using JQuery (4 dynamic form).

Radio Box Navigation Tabbing Using JQuery (4 dynamic form).

Hi guys looking to make a dynamic form where the fields change dependant on radio box option selected above.

I hope someone out there can help me i'm a beginner and so far have found this code below to get started. I just need to plug in somecode to switch div containers dependant on which radio box is selected. Then i can get the alternate fields to appear disappear.

Code so far below.
thanks dave


$(document).ready(function(){
   $("input[@name='empType']").change(
        function() {
            if ($("input[@name='empType']:checked").val()) {
                alert($("input[@name='empType']:checked").val());
            }
        }
    );
});




thanks for any help
dave