Currently, I am working with JSP and have implemented an HTML form that includes a "Process" button at the top. When this button is clicked, it displays a form with two radio buttons - TestClient
and TestServer
.
The form also contains a Submit
button.
If you want to view my work, here is the link to my jsfiddle
Issue Description:-
My current goal is to display two text boxes and one radio button below the selected radio button (TestClient
or TestServer
) once it is clicked. Here is what I want it to look like:
TestClient TestServer
Name textbox
Id textbox
Sex Male Female
Submit button
Similarly, if TestServer
is clicked, I would like to show three text boxes and a dropdown menu below the respective radio button.
TestClient TestServer
Address textbox
ClientId textbox
ServerId textbox
Country dropdownbox
Submit button
Is it achievable using jQuery in my existing jsfiddle example? If so, could someone provide me with a helpful jsfiddle demonstration?