troubleshooting Question

Using Razor, I need a button that adds text fields when clicked

Avatar of curiouswebster
curiouswebsterFlag for United States of America asked on
.NET ProgrammingC#ASP.NET
2 Comments1 Solution488 ViewsLast Modified:
Using Razor and jQuery, I need to append a text field onto an existing div tag when the button's beeen clicked. The region should be a div tag and I need to use appendTo(), passing in another div tag in the contents.

I'm not sure how to do this.

I also need to have a unique ID for each field added, so I can associate it to a unique property on my ViewModel.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros