[RESOLVED]Best Way to dynamically add textboxes on radiobutton click in MVC for non-JS users

I have a requirement where i have to dynamically add textboxes based on the radiobutton click i.e if 1 click then add 1 textbox, 2 then 2 & so on upto 6.

With jquery we can easily achieve this. But for non-JS users what should we do.

Any idea what can be a generic solution like a custom HTMLHelper or Partial View.

Hi,

DreamBig

radiobutton click i.e if 1 click then add 1 textbox, 2 then 2 & so on upto 6.

clientside events should be handled only through JS.

DreamBig

Any idea what can be a generic solution like a custom HTMLHelper or Partial View.

above both are serverside logics, which are not useful here.

Leave a Reply