Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to dynamically add input textbox on clicking radio button.I need more than 5 input text boxes that are to be added to a jsp page when i click on radio button.
Posted

1 solution

Define a client side onclick event on radio button. Then in Javascript, define the method that will be invoked by onclick event.
In this method, based on your need add the inout textbox and place it in the panel/placeholder whereever needed. Try!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900