With jQuery:
// on page load
$( "#buyerForm" ).show();
$( "#developperForm" ).hide();
// radio button actions
$( "#buyerButton" ).click(function() {
$( "#buyerForm" ).toggle();
$( "#developperForm" ).toggle();
});
$( "#developperButton" ).click(function() {
$( "#buyerForm" ).toggle();
$( "#developperForm" ).toggle();
});
1
solved Html5, css3, javascript, jquery [closed]