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 much to get by. Just need to add code to switch div
containers dependant on which radio box is selected. Code so far
below:

$(document).ready(function(){
   $("[EMAIL PROTECTED]'empType']").change(
        function() {
            if ($("[EMAIL PROTECTED]'empType']:checked").val()) {
                alert($("[EMAIL PROTECTED]'empType']:checked").val());
            }
        }
    );
});

thanks for any help
dave

Reply via email to